]> git.localhorst.tv Git - blank.git/blobdiff - src/world/Player.hpp
some annotations
[blank.git] / src / world / Player.hpp
index 1f9af84118af1ca88e80d415257dcef7307453ca..c1a3e0b36a54a788a9c91211115dde565cc1d721 100644 (file)
@@ -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: