X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2FSteering.hpp;h=3ccf9e3d492dda6fa585849d0e393f7c81993ec9;hp=51f2c63db710bc098d689f540ef00801a050cadb;hb=b0e73e632f0b681a0af78f889dd82d370563944a;hpb=c475ecb15fb2222977cf64ca7bdbea0f303a4192 diff --git a/src/creature/Steering.hpp b/src/creature/Steering.hpp index 51f2c63..3ccf9e3 100644 --- a/src/creature/Steering.hpp +++ b/src/creature/Steering.hpp @@ -1,14 +1,13 @@ #ifndef BLOBS_CREATURE_STEERING_HPP_ #define BLOBS_CREATURE_STEERING_HPP_ +#include "Situation.hpp" #include "../math/glm.hpp" namespace blobs { namespace creature { -class Creature; - class Steering { public: @@ -26,7 +25,7 @@ public: void Halt() noexcept; void GoTo(const glm::dvec3 &) noexcept; - glm::dvec3 Acceleration(Creature &) const noexcept; + glm::dvec3 Acceleration(const Situation::State &) const noexcept; private: bool SumForce(glm::dvec3 &out, const glm::dvec3 &in) const noexcept;