X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FPlayer.hpp;h=c1a3e0b36a54a788a9c91211115dde565cc1d721;hb=e4a1425dccd0ba9b106e415dd02809f4308a85ee;hp=1f9af84118af1ca88e80d415257dcef7307453ca;hpb=b066e776622f96e906600a0c4a08de392bd03676;p=blank.git diff --git a/src/world/Player.hpp b/src/world/Player.hpp index 1f9af84..c1a3e0b 100644 --- a/src/world/Player.hpp +++ b/src/world/Player.hpp @@ -6,6 +6,7 @@ namespace blank { +class BlockLookup; class ChunkIndex; class Player { @@ -23,6 +24,8 @@ public: void SetInventorySlot(int i) noexcept { inv_slot = i; } int GetInventorySlot() const noexcept { return inv_slot; } + bool SuitableSpawn(BlockLookup &) const noexcept; + void Update(int dt); private: