]> git.localhorst.tv Git - blobs.git/blobdiff - src/creature/Situation.hpp
randomize creature properties a bit
[blobs.git] / src / creature / Situation.hpp
index 4dbb1c694d96b8ea5d534b353ec9c6e5f9a8e2a2..d421b690d694eb8fb0bac7d77c21bf87fccec57d 100644 (file)
@@ -1,12 +1,14 @@
 #ifndef BLOBS_CREATURE_SITUATION_HPP_
 #define BLOBS_CREATURE_SITUATION_HPP_
 
-#include "../graphics/glm.hpp"
+#include "../math/glm.hpp"
 
 
 namespace blobs {
 namespace world {
        class Planet;
+       class Tile;
+       class TileType;
 }
 namespace creature {
 
@@ -19,9 +21,13 @@ public:
 public:
        bool OnPlanet() const noexcept;
        world::Planet &GetPlanet() const noexcept { return *planet; }
+       bool OnSurface() const noexcept;
        int Surface() const noexcept { return surface; }
        const glm::dvec3 &Position() const noexcept { return position; }
+       world::Tile &GetTile() const noexcept;
+       const world::TileType &GetTileType() const noexcept;
 
+       void Move(const glm::dvec3 &dp) noexcept;
        void SetPlanetSurface(world::Planet &, int srf, const glm::dvec3 &pos) noexcept;
 
 public: