R-Type  1.0.1.0
Rewrite of the R-Type game with networking ability
Loading...
Searching...
No Matches
engine::EntityManager Class Reference
Collaboration diagram for engine::EntityManager:
[legend]

Public Member Functions

void addPrefab (const std::shared_ptr< engine::Base > &prefab)
 
std::shared_ptr< engine::BasegetPrefabByEntityId (std::size_t entityId)
 
std::shared_ptr< engine::BasegetPrefabByName (const std::string &prefabName)
 
std::shared_ptr< engine::BasegetPrefabByNetworkId (std::uint32_t networkId)
 
void killAllPrefabs ()
 
bool removeByNetworkId (std::uint32_t networkId)
 
bool removePrefab (const std::string &prefabName)
 

Private Attributes

int _globalId
 
std::map< std::string, std::shared_ptr< engine::Base > > _prefabs
 

The documentation for this class was generated from the following files: