Immovable¶
-
class
gamelib.Immovable.
Immovable
(**kwargs)¶ This class derive BoardItem and describe an object that cannot move or be moved (like a wall). Thus this class implements BoardItem.can_move(). However it does not implement BoardItem.pickable() or BoardItem.overlappable()
-
__init__
(**kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(**kwargs)Initialize self. can_move
()Return the capability of moving of an item. debug_info
()Return a string with the list of the attributes and their current value. display
()Print the model WITHOUT carriage return. overlappable
()This is a virtual method that must be implemented in deriving class. pickable
()This is a virtual method that must be implemented in deriving class. restorable
()This is a virtual method that must be implemented in deriving class. size
()Return the size of the Immovable Item. store_position
(row, column)Store the BoardItem position for self access. -