stratega.Tile
- class stratega.Tile
Contains the instanted object of a Tile information.
- __init__(self: stratega.Tile, tileType: stratega.TileType, x: int, y: int) None
Methods
__init__(self, tileType, x, y)get_blocks_sight(self)get_tile_type_id(self)Returns the tile type ID of this tile
is_walkable(self)name(self)Returns the tile name
set_block_sight(self, b)set_position(self, x, y)set_walkable(self, w)x(self)y(self)Attributes
blocks_sightwalkable