X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2FGoal.hpp;h=1705b15c371e4d92db60a7c485320ec996a71355;hp=4d3a17f431382d616a8f4828f7e1f9f3ee64529b;hb=ae4f59520574caf5054d4a19cd76fa86c4a97264;hpb=58459faea6f68654c4292e7333ba67961bfab1d6 diff --git a/src/creature/Goal.hpp b/src/creature/Goal.hpp index 4d3a17f..1705b15 100644 --- a/src/creature/Goal.hpp +++ b/src/creature/Goal.hpp @@ -1,6 +1,8 @@ #ifndef BLOBS_CREATURE_GOAL_HPP_ #define BLOBS_CREATURE_GOAL_HPP_ +#include "Creature.hpp" + #include #include @@ -14,10 +16,6 @@ namespace math { } namespace creature { -class Creature; -class Situation; -class Steering; - class Goal { public: @@ -30,10 +28,12 @@ public: public: Creature &GetCreature() noexcept { return c; } const Creature &GetCreature() const noexcept { return c; } - Situation &GetSituation() noexcept; - const Situation &GetSituation() const noexcept; - Steering &GetSteering() noexcept; - const Steering &GetSteering() const noexcept; + Creature::Stats &GetStats() noexcept { return c.GetStats(); } + const Creature::Stats &GetStats() const noexcept { return c.GetStats(); } + Situation &GetSituation() noexcept { return c.GetSituation(); } + const Situation &GetSituation() const noexcept { return c.GetSituation(); } + Steering &GetSteering() noexcept { return c.GetSteering(); } + const Steering &GetSteering() const noexcept { return c.GetSteering(); } app::Assets &Assets() noexcept; const app::Assets &Assets() const noexcept; math::GaloisLFSR &Random() noexcept;