Interface
TileComp
:The tile component.
group
Component Types
tilePos
: Vec2The tile position inside the level.
isObstacle
: booleanIf the tile is an obstacle in pathfinding.
cost
: numberHow much a tile is cost to traverse in pathfinding (default 0).
edges
: Edge[]If the tile has hard edges that cannot pass in pathfinding.
tilePosOffset
: Vec2Position offset when setting tilePos
.