Wraith  0.1.5
Basic 3D game engine in C++
UpdatableManager Class Reference
Collaboration diagram for UpdatableManager:
Collaboration graph

Public Types

typedef StorageList::iterator StorageListReference
 

Public Member Functions

 UpdatableManager (const UpdatableManager &)=delete
 
UpdatableManageroperator= (const UpdatableManager &)=delete
 
 UpdatableManager (UpdatableManager &&)=delete
 
UpdatableManageroperator= (UpdatableManager &&)=delete
 
void registerEntity (Updatable *pUpdatable)
 Registers an Updatable entity. More...
 
void deregisterEntity (Updatable *pUpdatable)
 Deregisters an Updatable entity. More...
 
void processEntities ()
 Process the registered entities. More...
 

Private Types

typedef std::list< Updatable * > StorageList
 

Private Attributes

StorageList _registeredEntities
 

Member Function Documentation

◆ deregisterEntity()

void UpdatableManager::deregisterEntity ( Updatable pUpdatable)

Deregisters an Updatable entity.

.

Parameters
pUpdatablethe updatable entity.

◆ processEntities()

void UpdatableManager::processEntities ( )

Process the registered entities.

Called only by the current Scene in Scene::Update()

◆ registerEntity()

void UpdatableManager::registerEntity ( Updatable pUpdatable)

Registers an Updatable entity.

Parameters
pUpdatablethe entity updatable.

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