6 #ifndef ENTITYMANAGER_HPP
7 #define ENTITYMANAGER_HPP
30 std::map<entityType, std::vector<std::shared_ptr<GameEntity>>>
gameEntities;
entityType
Definition: Constants.hpp:54
EntityManager class that stores all entities within the game.
Definition: EntityManager.hpp:24
std::map< entityType, std::vector< std::shared_ptr< GameEntity > > > gameEntities
Definition: EntityManager.hpp:30
void ClearVector(entityType name)
Removing a particular entity from the Class.
Definition: EntityManager.cpp:22
std::vector< std::shared_ptr< GameEntity > > GetEntityVector(entityType name)
Returns the EntityVector of the class that stores the entities.
Definition: EntityManager.cpp:34
EntityManager()=default
Constructor of EntityManager.
void AddEntity(entityType name, std::shared_ptr< GameEntity > entity)
Add an entity to the Class.
Definition: EntityManager.cpp:7
Represents an interactable entity in the game that includes Main Character, NPC, Tiles ,...
Definition: GameEntity.hpp:22