BoardItemVoid

class gamelib.BoardItem.BoardItemVoid(**kwargs)

A class that represent a void cell.

__init__(**kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(**kwargs) Initialize self.
can_move() This is a virtual method that must be implemented in deriving classes.
debug_info() Return a string with the list of the attributes and their current value.
display() Print the model WITHOUT carriage return.
overlappable() A BoardItemVoid is obviously overlappable (so player and NPC can walk over).
pickable() A BoardItemVoid is not pickable, therefor this method return false.
size() This is a virtual method that must be implemented in deriving class.
store_position(row, column) Store the BoardItem position for self access.