stratega.TileType

class stratega.TileType

Contains all the information of a tile type. This information includes a list of parameters definitions, if a tile blocks sight or if is wakable.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_block_sight(self)

get_id(self)

get_name(self)

get_symbol(self)

is_default_tile(self)

is_walkable(self)

set_block_sight(self, b)

set_default_tile(self, defaultTile)

set_id(self, id)

set_name(self, name)

set_symbol(self, c)

set_walkable(self, w)

to_tile(self, x, y)

Creates an instantiation of this tile given a position

Attributes

block_sight

default_tile

id

name

symbol

walkable