#include <Simulation.h>
Public Member Functions | |
Simulation * | get () |
template<class T > | |
T * | get () |
Convinience method that casts the Simulation object into the corresponding T class (with a boost::polymorphic_downcast<>). | |
void | set (Simulation *pObj) |
Sets the current game. | |
Protected Attributes | |
Simulation * | pObj |
Definition at line 145 of file Simulation.h.
T* SimulationHolder::get | ( | ) | [inline] |
Convinience method that casts the Simulation object into the corresponding T class (with a boost::polymorphic_downcast<>).
Definition at line 151 of file Simulation.h.
References pObj.
Simulation* SimulationHolder::get | ( | ) | [inline] |
void SimulationHolder::set | ( | Simulation * | pObj | ) | [inline] |
Sets the current game.
Definition at line 156 of file Simulation.h.
References pObj.
Simulation* SimulationHolder::pObj [protected] |