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