22 #ifndef WORLD_ACTORS_COMBATPROCESS_H 23 #define WORLD_ACTORS_COMBATPROCESS_H 25 #include "ultima/ultima8/kernel/process.h" 26 #include "ultima/ultima8/misc/direction.h" 38 ENABLE_RUNTIME_CLASSTYPE()
45 void setTarget(ObjId target);
54 bool isValidTarget(
const Actor *target)
const;
55 bool isEnemy(
const Actor *target)
const;
56 bool inAttackRange()
const;
57 Direction getTargetDirection()
const;
59 void turnToDirection(Direction direction);
void saveData(Common::WriteStream *ws) override
save Process data
Common::String dumpInfo() const override
dump some info about this process to a string
Definition: detection.h:27
void terminate() override
terminate the process. This wakes up all processes waiting for it.
Definition: combat_process.h:33