Colobot
|
Public Member Functions | |
bool | AddInstance (CObject *instance) |
Registers new object. | |
bool | DeleteInstance (CObject *instance) |
Deletes the registered object. | |
CObject * | SearchInstance (int id) |
Seeks for an object. | |
CObject * | CreateObject (Math::Vector pos, float angle, float zoom, float height, ObjectType type, float power, bool trainer, bool toy, int option) |
Creates an object. | |
Protected Attributes | |
CObject * | m_table [MAX_OBJECTS] |
int | usedCount |
Additional Inherited Members | |
![]() | |
static CObjectManager & | GetInstance () |
static CObjectManager * | GetInstancePointer () |
static bool | IsCreated () |
![]() | |
static CObjectManager * | m_instance = nullptr |