TileComp:
The tile component.
tilePos: Vec2
The tile position inside the level.
isObstacle: boolean
If the tile is an obstacle in pathfinding.
cost: number
How 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: Vec2
Position offset when setting `tilePos`.