![]() |
Tactics: Western Philosophers Vs. Musicians
0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
|
#include <CUpdateManager.h>
Public Member Functions | |
bool | addUpdater (Updater *upd_) |
Updater * | getUpdater (Updater::UPDATER_TYPE type_) |
bool | setPriority (Updater::UPDATER_TYPE type_, Updater::UPDATER_PRIORITY prio_) |
bool | addUpdater (Object *obj_, Updater::UPDATER_TYPE type_, Updater::OBJECT_PRIORITY prio_=Updater::OBJ_1, bool isOneShot_=false) |
bool | removeUpdater (Object *obj_, Updater::UPDATER_TYPE type_) |
bool | removeAllObjectsFromUpdater (Updater::UPDATER_TYPE type_) |
void | removeAllUpdaters (Object *obj_) |
void | getUpdaters (const Object *obj_, std::list< Updater * > &updaters_) const |
void | disableAllUpdates (Object *obj_) |
void | enableAllUpdates (Object *obj_) |
bool | find (Object *obj_, Updater::UPDATER_TYPE type_) const |
void | update (Updater::UPDATER_TYPE type_, float dt_) |
void | updateAll (float dt_) |
bool | haveAllObjectsBeenUpdated (Updater::UPDATER_TYPE type_) |
Static Public Member Functions | |
static void | createInstance () |
static UpdateManager *& | getInstance () |
static void | shutDown () |
Class to handle all Updaters. It takes care of adding Updaters, accessing them, adding/removing objects to/from them, calling their update methods, and deleting them from the heap.
bool UpdateManager::addUpdater | ( | Updater * | upd_ | ) |
Returns false if upd_ has already been added.
bool OpenSkyNet::Core::UpdateManager::addUpdater | ( | Object * | obj_, |
Updater::UPDATER_TYPE | type_, | ||
Updater::OBJECT_PRIORITY | prio_ = Updater::OBJ_1 , |
||
bool | isOneShot_ = false |
||
) |
Returns false if obj_ is already in the updater.
|
inlinestatic |
bool UpdateManager::find | ( | Object * | obj_, |
Updater::UPDATER_TYPE | type_ | ||
) | const |
|
inlinestatic |
|
inline |
|
inline |
bool UpdateManager::removeAllObjectsFromUpdater | ( | Updater::UPDATER_TYPE | type_ | ) |
bool UpdateManager::removeUpdater | ( | Object * | obj_, |
Updater::UPDATER_TYPE | type_ | ||
) |
Returns false if obj_ was not in the updater, OR the remove failed.
bool UpdateManager::setPriority | ( | Updater::UPDATER_TYPE | type_, |
Updater::UPDATER_PRIORITY | prio_ | ||
) |
|
static |
void UpdateManager::update | ( | Updater::UPDATER_TYPE | type_, |
float | dt_ | ||
) |
void UpdateManager::updateAll | ( | float | dt_ | ) |