#include <S2_api.h>
Inheritance diagram for ObjectAPI:
Public Member Functions | |
bookkeeping methods | |
void | SetName (const char *name) |
const char * | GetName () |
Shape/Geometry management | |
virtual void | AttachShape (void *p_shape) |
virtual void | DettachShape (void *p_shape) |
Protected Member Functions | |
ObjectAPI (S2::Object *p_obj) | |
virtual | ~ObjectAPI () |
Protected Attributes | |
S2::Object * | m_pObject |
char | m_name [S2_MAX_NAME_LENGTH] |
Private Member Functions | |
S2::Object * | GetObject () const |
Friends | |
class | UniverseAPI |
Allows UniverseAPI to create/destroy ObjectAPI instances. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Allows UniverseAPI to create/destroy ObjectAPI instances.
Reimplemented in ParticleAPI, and RigidAPI. |
|
|
|
|