X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2FGoal.hpp;h=9ffeb0f006878f08e96f044436a8ab6987204130;hp=2ec03bf255e7baa23f792e7d52a3188364d2e6f5;hb=42db7d9d2286e50896ad172e2e4a8fbe65c8a4a9;hpb=8f6530c75730f901efd6708e4fde7e68a178adf1 diff --git a/src/creature/Goal.hpp b/src/creature/Goal.hpp index 2ec03bf..9ffeb0f 100644 --- a/src/creature/Goal.hpp +++ b/src/creature/Goal.hpp @@ -6,6 +6,9 @@ namespace blobs { +namespace app { + struct Assets; +} namespace creature { class Creature; @@ -28,6 +31,8 @@ public: const Situation &GetSituation() const noexcept; Steering &GetSteering() noexcept; const Steering &GetSteering() const noexcept; + app::Assets &Assets() noexcept; + const app::Assets &Assets() const noexcept; double Urgency() const noexcept { return urgency; } void Urgency(double u) noexcept { urgency = u; }