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 <CObjectFactory.h>
Public Types | |
enum | CREATION_FLAG { NONE, PHYSICAL, VISIBLE, PHYS_VIS, CAMERA } |
Public Member Functions | |
void | destroyAllObjects (bool doDestroyPersistentData_) |
virtual CD::Shape * | createShape (CD::SHAPE_TYPE shapeType_,...) |
CD::Shape * | getShape (Utils::uint index_) |
virtual Object * | createObject (const char *name_, bool isPersistent_, CREATION_FLAG flag_,...) |
Object * | getObject (const char *name_) |
const std::map< std::string, Object * > & | getObjects () const |
Static Public Member Functions | |
static void | createInstance () |
static ObjectFactory *& | getInstance () |
static void | shutDown () |
Protected Member Functions | |
ObjectFactory () | |
Static Protected Member Functions | |
static Utils::uint | getColGroupUIntFromStr (const char *colGroup_) |
static const char * | getColGroupStrFromUInt (Utils::uint colGroup_) |
Protected Attributes | |
std::vector< CD::Shape * > | _nonPersistentShapes |
std::map< std::string, Object * > | _namesToObjs |
std::vector< Object * > | _nonPersistentObjs |
Static Protected Attributes | |
static ObjectFactory * | _instance = 0 |
Class to handle all game object creation and deletion.
|
protected |
|
inlinestatic |
|
virtual |
Reimplemented in OpenSkyNet::OgreCore::OgreObjectFactory.
|
virtual |
void ObjectFactory::destroyAllObjects | ( | bool | doDestroyPersistentData_ | ) |
Free memory used by created objects without shutting the factory down.
|
staticprotected |
|
staticprotected |
|
inlinestatic |
Object * ObjectFactory::getObject | ( | const char * | name_ | ) |
|
inline |
|
inline |
|
static |
|
staticprotected |
|
protected |
|
protected |
|
protected |