Add World::GetEntities

This commit is contained in:
2025-03-19 02:41:10 -04:00
parent a7063675dc
commit e912645a24
2 changed files with 2 additions and 6 deletions

View File

@@ -151,6 +151,8 @@ namespace CaveGame::Core {
/// Adds the entity pointer to the world, via std::move, this may leave the original entity pointer empty.
void AddEntity(Entity* e);
std::vector<Entity*> GetEntities() { return entities;}
/// Returns the number of extant entities in this world right now.
unsigned int GetCurrentEntityCount() const;

View File

@@ -1,6 +0,0 @@
#include <Core/AnimatedSprite.hpp>
namespace CaveGame::Core
{
}