1 #ifndef BLOBS_CREATURE_SITUATION_HPP_
2 #define BLOBS_CREATURE_SITUATION_HPP_
4 #include "../math/glm.hpp"
21 Situation(const Situation &) = delete;
22 Situation &operator =(const Situation &) = delete;
24 Situation(Situation &&) = delete;
25 Situation &operator =(Situation &&) = delete;
28 bool OnPlanet() const noexcept;
29 world::Planet &GetPlanet() const noexcept { return *planet; }
30 bool OnSurface() const noexcept;
31 int Surface() const noexcept { return surface; }
32 const glm::dvec3 &Position() const noexcept { return position; }
33 world::Tile &GetTile() const noexcept;
34 const world::TileType &GetTileType() const noexcept;
36 void Move(const glm::dvec3 &dp) noexcept;
37 void SetPlanetSurface(world::Planet &, int srf, const glm::dvec3 &pos) noexcept;
40 world::Planet *planet;