Members
-
tiledef :Object
-
Tile definition mapping tiles to settings such as weight.
Methods
-
init(tilesize, data, tiledef)
-
Initializes pathfinding map.
Parameters:Name Type Argument Default Description tilesize
Number size of tiles data
Array tile data in a 2D array of rows x columns tiledef
Object <optional>
ig.PathfindingMap.defaultTileDef tile definition mapping tiles to settings such as weight. - Source: