#include <K3dSphereObj.h>
Inheritance diagram for K3dSphereObj:
Public Member Functions | |
K3dSphereObj (K3dGameData *_pGameData) | |
~K3dSphereObj () | |
K3dString & | GetName () |
Get or set sphere name. | |
int & | GetId () |
Get or set sphere index. | |
TIntIntMap & | GetLinkObjMap () |
Get map of link objects (ObjId, ObjType) to the sphere. | |
Private Attributes | |
K3dString | m_strName |
Sphere name. | |
int | m_iId |
Sphere index in global game data. | |
TIntIntMap | m_tLinkObjMap |
Map of link objects (ObjId, ObjType) to the sphere. |
Definition at line 37 of file K3dSphereObj.h.
K3dSphereObj::K3dSphereObj | ( | K3dGameData * | _pGameData | ) |
Definition at line 35 of file K3dSphereObj.cpp.
References K_STR_SPHERE_NO_DEF, m_iId, and m_strName.
K3dSphereObj::~K3dSphereObj | ( | ) |
Definition at line 40 of file K3dSphereObj.cpp.
K3dString& K3dSphereObj::GetName | ( | ) | [inline] |
int& K3dSphereObj::GetId | ( | ) | [inline] |
Get or set sphere index.
Definition at line 54 of file K3dSphereObj.h.
References m_iId.
Referenced by K3dSphereBuild::CreateNewSphereObj().
TIntIntMap& K3dSphereObj::GetLinkObjMap | ( | ) | [inline] |
Get map of link objects (ObjId, ObjType) to the sphere.
Definition at line 60 of file K3dSphereObj.h.
References m_tLinkObjMap.
Referenced by K3dSphereWork::LinkObject().
K3dString K3dSphereObj::m_strName [private] |
Sphere name.
Definition at line 39 of file K3dSphereObj.h.
Referenced by GetName(), and K3dSphereObj().
int K3dSphereObj::m_iId [private] |
Sphere index in global game data.
Definition at line 40 of file K3dSphereObj.h.
Referenced by GetId(), and K3dSphereObj().
TIntIntMap K3dSphereObj::m_tLinkObjMap [private] |
Map of link objects (ObjId, ObjType) to the sphere.
Definition at line 41 of file K3dSphereObj.h.
Referenced by GetLinkObjMap().