Emergency 20 Dokumentation  4.2.0
em5::ObserverHelper Class Reference

Observer helper can create observers. More...

#include <ObserverHelper.h>

Public Member Functions

 ObserverHelper (FreeplayEvent &freeplayEvent)
 Constructor. More...
 
 ~ObserverHelper ()
 Destructor. More...
 
template<typename T >
T & createObserver (uint64 entityId) const
 Create and insert a new observer associated with a given entity ID. More...
 
template<typename T >
T & createGeneralObserver () const
 Create and insert a new observer associated to the core entity. More...
 

Detailed Description

Observer helper can create observers.

Constructor & Destructor Documentation

em5::ObserverHelper::ObserverHelper ( FreeplayEvent freeplayEvent)
explicit

Constructor.

em5::ObserverHelper::~ObserverHelper ( )

Destructor.

Member Function Documentation

template<typename T >
T & em5::ObserverHelper::createGeneralObserver ( ) const

Create and insert a new observer associated to the core entity.

template<typename T >
T & em5::ObserverHelper::createObserver ( uint64  entityId) const

Create and insert a new observer associated with a given entity ID.


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