22 #ifndef FIFE_MODEL_ABSTRACTPATHER_H
23 #define FIFE_MODEL_ABSTRACTPATHER_H
47 class AbstractPather {
49 virtual ~AbstractPather() {};
67 virtual int getNextLocation(
const Instance* instance,
const Location& target,
68 double distance_to_travel, Location& nextLocation,
69 Location& facingLocation,
int session_id=-1,
70 int priority = MEDIUM_PRIORITY) = 0;
79 virtual void update() = 0;
90 virtual bool cancelSession(
const int session_id) = 0;
94 virtual std::string getName()
const = 0;