X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fcreature%2FSituation.hpp;h=a60aeb7aa27ee55595210ef8cf0924ebdd6fc319;hp=df7abf2b9f0dab475d8904a1a9037898f33d003d;hb=cd9cee86b336b5ec531028ac2deebb391e48ed21;hpb=42db7d9d2286e50896ad172e2e4a8fbe65c8a4a9 diff --git a/src/creature/Situation.hpp b/src/creature/Situation.hpp index df7abf2..a60aeb7 100644 --- a/src/creature/Situation.hpp +++ b/src/creature/Situation.hpp @@ -30,6 +30,8 @@ public: bool OnSurface() const noexcept; int Surface() const noexcept { return surface; } const glm::dvec3 &Position() const noexcept { return position; } + bool OnTile() const noexcept; + glm::ivec2 SurfacePosition() const noexcept; world::Tile &GetTile() const noexcept; const world::TileType &GetTileType() const noexcept;