#include <PVLEGame.h>

Public Member Functions | |
| PVLEGame * | get () |
| template<class T > | |
| T * | get () |
| Convinience method that casts the game object into the corresponding T class (with a boost::polymorphic_downcast<>). | |
| void | setCurrentGame (PVLEGame *pGame) |
| Sets the current game. | |
Protected Attributes | |
| PVLEGame * | pGame |
Definition at line 73 of file PVLEGame.h.
| T* PVLEGameHolder::get | ( | ) | [inline] |
Convinience method that casts the game object into the corresponding T class (with a boost::polymorphic_downcast<>).
Definition at line 79 of file PVLEGame.h.
References pGame.
| PVLEGame* PVLEGameHolder::get | ( | ) | [inline] |
Definition at line 75 of file PVLEGame.h.
References pGame.
Referenced by Ammo::hitAfter(), and Explosion::hitBefore().
| void PVLEGameHolder::setCurrentGame | ( | PVLEGame * | pGame | ) | [inline] |
Sets the current game.
Definition at line 84 of file PVLEGame.h.
PVLEGame* PVLEGameHolder::pGame [protected] |
1.5.9