1 #ifndef BLOBS_CREATURE_GOAL_HPP_
2 #define BLOBS_CREATURE_GOAL_HPP_
13 virtual ~Goal() noexcept;
16 double Urgency() const noexcept { return urgency; }
17 void Urgency(double u) noexcept { urgency = u; }
19 bool Interruptible() const noexcept { return interruptible; }
20 void Interruptible(bool i) noexcept { interruptible = i; }
22 bool Complete() const noexcept { return complete; }
23 void Complete(bool i) noexcept { complete = i; }
26 virtual void Enable(Creature &) { }
27 virtual void Tick(double dt) { }
28 virtual void Action(Creature &) { }