EXECUTE-STRATEGY

Name

EXECUTE-STRATEGY -- generic function

Description

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.

Methods

EXECUTE-STRATEGY
 (EXECUTE-STRATEGY (STRATEGY PRIMITIVE-MELEE-ATTACKER) (MON ACTIVE-MONSTER) DUNGEON &KEY ACTION FORCE) [method]
Calls 
Location 

ai.lisp

EXECUTE-STRATEGY
 (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 

ai.lisp

This documentation was generated Autumn 2003 from the original sources by Albert v.0.4.9.