|
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, ObjectType type, float power=-1.f, float zoom=1.f, float height=0.f, bool trainer=false, bool toy=false, int option=0) |
| Creates an object. | |
| void | Flush () |
| Removes all objects. | |
Protected Attributes | |
| CObject * | m_table [MAX_OBJECTS] |
| int | m_usedCount |
Additional Inherited Members | |
Static Public Member Functions inherited from CSingleton< CObjectManager > | |
| static CObjectManager & | GetInstance () |
| static CObjectManager * | GetInstancePointer () |
| static bool | IsCreated () |
Static Protected Attributes inherited from CSingleton< CObjectManager > | |
| static CObjectManager * | m_instance = nullptr |
1.8.1.2