Asks the strategy to execute an action for the creature. The strategy will find a fitting action if ACTION is NIL, or adapt the ACTION argument to the situation. If FORCE is NIL, the method is allowed to return NIL ie give up for the controller to choose another strategy.
(EXECUTE-STRATEGY (STRATEGY PRIMITIVE-MELEE-ATTACKER) (MON ACTIVE-MONSTER) DUNGEON &KEY ACTION FORCE) [method] |
Calls | ||
Location |
(EXECUTE-STRATEGY (STRATEGY PEACEFUL-MOVER) (MON ACTIVE-MONSTER) DUNGEON &KEY ACTION FORCE) [method] |
Calls | (SETF STRATEGY.DESTINATIONS), AMON.TEMP-ATTRS, ATTR.VALUE, FUNCALL, GET-MOVE-DIRECTION, GETHASH, HAS-ABILITY?, LOCATION-X, LOCATION-Y, RANDOM and STRATEGY.DESTINATIONS | |
Location |
This documentation was generated Autumn 2003 from the original sources by Albert v.0.4.9.