Add World::GetEntities
This commit is contained in:
@@ -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;
|
||||
|
@@ -1,6 +0,0 @@
|
||||
#include <Core/AnimatedSprite.hpp>
|
||||
|
||||
namespace CaveGame::Core
|
||||
{
|
||||
|
||||
}
|
Reference in New Issue
Block a user