K3dCameraBuild Class Reference

#include <K3dCameraBuild.h>

Inheritance diagram for K3dCameraBuild:

K3dObjectBuild K3dMngGeometry K3dMngSystem K3dScene List of all members.

Public Member Functions

 K3dCameraBuild (K3dGameData *_pGameData)
 ~K3dCameraBuild (void)
void LoadCameras ()
 Load Camera and add to global data.
void DeleteCameras ()
 Delete all cameras from global data.

Private Attributes

K3dGameDatam_pGameData
 Global game data, data centered game system.

Detailed Description

Definition at line 39 of file K3dCameraBuild.h.


Constructor & Destructor Documentation

K3dCameraBuild::K3dCameraBuild ( K3dGameData _pGameData  ) 

Definition at line 35 of file K3dCameraBuild.cpp.

References m_pGameData.

K3dCameraBuild::~K3dCameraBuild ( void   ) 

Definition at line 40 of file K3dCameraBuild.cpp.

References DeleteCameras().


Member Function Documentation

void K3dCameraBuild::LoadCameras (  ) 

Load Camera and add to global data.

Definition at line 46 of file K3dCameraBuild.cpp.

References K3dString::AddNumber(), K3dCameraData::GetActiveCamId(), K3dSceneData::GetLua(), K3dString::GetString(), K_CAM_DESCENT, K_CAM_FIRST_PERSON, K_CAM_SPECTATE, K_STR_ACTIVECAMERA_ID, K_STR_CAMERA, K_STR_DESCENT, K_STR_FIRST_PERSON, K_STR_MOUSEMOVE, K_STR_NAME, K_STR_NUM_CAMERAS, K_STR_POS_X, K_STR_POS_Y, K_STR_POS_Z, K_STR_ROT_X, K_STR_ROT_Y, K_STR_ROT_Z, K_STR_SPECTATE, K_STR_SPEED, K3dLua::LuaError(), K3dLua::LuaGetFieldBool(), K3dLua::LuaGetFieldNumber(), K3dLua::LuaGetFieldString(), K3dLua::LuaGetGlobal(), K3dLua::LuaIsNumber(), K3dLua::LuaIsTable(), K3dLua::LuaToNumber(), and m_pGameData.

Referenced by K3dMngGeometry::InitMngGeometry().

void K3dCameraBuild::DeleteCameras (  ) 

Delete all cameras from global data.

Definition at line 124 of file K3dCameraBuild.cpp.

References K3dSafePointer< _T >::Delete(), K3dSafePointer< _T >::Get(), K3dGameData::GetCameraObjSP(), K3dSafePointer< _T >::GetNum(), and m_pGameData.

Referenced by K3dMngGeometry::DeleteMngGeometry(), and ~K3dCameraBuild().


Member Data Documentation

K3dGameData* K3dCameraBuild::m_pGameData [private]

Global game data, data centered game system.

Reimplemented in K3dObjectBuild, K3dScene, K3dMngGeometry, and K3dMngSystem.

Definition at line 41 of file K3dCameraBuild.h.

Referenced by DeleteCameras(), K3dCameraBuild(), and LoadCameras().


The documentation for this class was generated from the following files:
Generated on Thu Aug 16 23:53:31 2007 for K3dEngine by  doxygen 1.5.0