Changeset 4827 in orxonox.OLD for orxonox/trunk/src/util/state.cc
- Timestamp:
- Jul 9, 2005, 12:48:50 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/state.cc
r4597 r4827 25 25 26 26 27 /**28 \brief standard constructor29 */30 State::State ()31 {32 this->setClassID(CL_STATE, "State");33 this->setName("State");34 27 35 this->camera = NULL; 36 this->cameraTarget = NULL; 37 } 28 const PNode* State::camera = NULL; 29 const PNode* State::cameraTarget = NULL; 38 30 39 /** 40 \brief the singleton reference to this class 41 */ 42 State* State::singletonRef = NULL; 43 44 /** 45 \brief standard deconstructor 46 */ 47 State::~State () 48 { 49 State::singletonRef = NULL; 50 51 } 31 tList<WorldEntity>* State::worldEntityList = NULL; 52 32 53 33 /** … … 56 36 void State::setCamera(const PNode* camera, const PNode* cameraTarget) 57 37 { 58 this->camera = camera;59 this->cameraTarget = cameraTarget;38 State::camera = camera; 39 State::cameraTarget = cameraTarget; 60 40 }
Note: See TracChangeset
for help on using the changeset viewer.