1 #ifndef BLANK_WORLD_PLAYER_HPP_
2 #define BLANK_WORLD_PLAYER_HPP_
15 Player(Entity &e, ChunkIndex &i);
18 Entity &GetEntity() const noexcept { return entity; }
19 const std::string &Name() const noexcept { return entity.Name(); }
20 Ray Aim() const { return entity.Aim(entity.ChunkCoords()); }
22 ChunkIndex &GetChunks() const noexcept { return chunks; }
24 void SetInventorySlot(int i) noexcept { inv_slot = i; }
25 int GetInventorySlot() const noexcept { return inv_slot; }
27 bool SuitableSpawn(BlockLookup &) const noexcept;