pyherc.rules.move.action
Module defining classes related to MoveAttack
MoveAction
-
class pyherc.rules.move.action.MoveAction(character, new_location, new_level=None)
Action for moving
-
execute()
Executes this Move
-
is_legal()
Check if the move is possible to perform
@returns: True if move is possible, false otherwise
WalkActions
-
class pyherc.rules.move.action.WalkAction(character, new_location, new_level=None)
Action for walking
-
execute()
Execute this move