Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Attributes | List of all members
CObjectManager Class Reference
Inheritance diagram for CObjectManager:
Inheritance graph
[legend]

Public Member Functions

bool AddInstance (CObject *instance)
 Registers new object.
 
bool DeleteInstance (CObject *instance)
 Deletes the registered object.
 
CObjectSearchInstance (int id)
 Seeks for an object.
 
CObjectCreateObject (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

CObjectm_table [MAX_OBJECTS]
 
int m_usedCount
 

Additional Inherited Members

- Static Public Member Functions inherited from CSingleton< CObjectManager >
static CObjectManagerGetInstance ()
 
static CObjectManagerGetInstancePointer ()
 
static bool IsCreated ()
 
- Static Protected Attributes inherited from CSingleton< CObjectManager >
static CObjectManagerm_instance = nullptr
 

The documentation for this class was generated from the following files: