-
-
Notifications
You must be signed in to change notification settings - Fork 81
Unity
As Project edited this page Aug 12, 2021
·
16 revisions
int[,] matrix = new int[height, width];
DTL.Shape.SimpleRogueLike simpleRogueLike = new DTL.Shape.SimpleRogueLike(1, 2, 4, 5, 5, 2, 5, 2);
simpleRogueLike.Draw(matrix);
std::array<std::array<int, width>, height> matrix{ {} };
dtl::shape::SimpleRogueLike<int> simpleRogueLike(1, 2, 4, 5, 5, 2, 5, 2);
simpleRogueLike.draw(matrix);
C# | C++ | Name |
---|---|---|
matrix[y, x] | matrix[y][x] | array type |
DTL.Shape. | dtl::shape:: | namespace |
draw(matrix) | Draw(matrix) | function name |
Copyright (c) 2018-2021 As Project.
Distributed under the Boost Software License, Version 1.0.(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)