- bool HasPlayer() const noexcept { return player; }
- Entity &PlayerEntity() noexcept { return player->GetEntity(); }
- const Entity &PlayerEntity() const noexcept { return player->GetEntity(); }
- ChunkIndex &PlayerChunks() noexcept { return player->GetChunks(); }
- const ChunkIndex &PlayerChunks() const noexcept { return player->GetChunks(); }
+ bool HasPlayer() const noexcept { return !!input; }
+ Entity &PlayerEntity() noexcept { return input->GetPlayer().GetEntity(); }
+ const Entity &PlayerEntity() const noexcept { return input->GetPlayer().GetEntity(); }
+ ChunkIndex &PlayerChunks() noexcept { return input->GetPlayer().GetChunks(); }
+ const ChunkIndex &PlayerChunks() const noexcept { return input->GetPlayer().GetChunks(); }