Emergency 2017 Dokumentation  v3.0.1
em5::ObjectiveManager Class Reference

EMERGENCY 5 objective manager. More...

#include <ObjectiveManager.h>

Public Member Functions

 ObjectiveManager ()
 Default constructor. More...
virtual ~ObjectiveManager ()
 Destructor. More...
ObjectivegetObjectiveById (uint32 id) const
 Find an objective by its ID. More...
void registerObjective (Objective &objective)
void unregisterObjective (Objective &objective)
void serialize (qsf::BinarySerializer &serializer)


class ObjectiveList
class FreeplaySystem

Additional Inherited Members

- Protected Member Functions inherited from qsf::Manager
 Manager ()
 Default constructor. More...
virtual ~Manager ()
 Destructor. More...

Detailed Description

EMERGENCY 5 objective manager.

  • TODO(fw): Think about making a template of this, similar to qsf::ElementManager, but without taking over the ownership of the elements registered

Definition at line 45 of file ObjectiveManager.h.

Constructor & Destructor Documentation

em5::ObjectiveManager::ObjectiveManager ( )

Default constructor.

virtual em5::ObjectiveManager::~ObjectiveManager ( )


Member Function Documentation

Objective* em5::ObjectiveManager::getObjectiveById ( uint32  id) const

Find an objective by its ID.

The objective or a null pointer if it was not found; do not destroy the instance
void em5::ObjectiveManager::registerObjective ( Objective objective)
void em5::ObjectiveManager::serialize ( qsf::BinarySerializer serializer)
void em5::ObjectiveManager::unregisterObjective ( Objective objective)

Friends And Related Function Documentation

friend class FreeplaySystem

Definition at line 53 of file ObjectiveManager.h.

friend class ObjectiveList

Definition at line 52 of file ObjectiveManager.h.

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