Changeset 6208 in orxonox.OLD for branches/christmas_branche/src/util/state.h
- Timestamp:
- Dec 21, 2005, 2:47:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/christmas_branche/src/util/state.h
r6142 r6208 25 25 ////////////// 26 26 /** @param camera the PNode to the Camera, @param cameraTarget the PNode to the Camera's target */ 27 static void setCamera( const PNode* camera, constPNode* cameraTarget);27 static void setCamera(PNode* camera, PNode* cameraTarget); 28 28 /** @returns a Pointer to the PNode of the Camera */ 29 static inline constPNode* getCamera() { return State::camera; };29 static inline PNode* getCamera() { return State::camera; }; 30 30 /** @returns a Pointer to the CameraTarget */ 31 static inline constPNode* getCameraTarget() { return State::cameraTarget; };31 static inline PNode* getCameraTarget() { return State::cameraTarget; }; 32 32 33 33 ////////////////////// … … 46 46 State(); 47 47 48 static const PNode*camera; //!< A reference to the camera49 static const PNode*cameraTarget; //!< A reference to the cameraTarget48 static PNode* camera; //!< A reference to the camera 49 static PNode* cameraTarget; //!< A reference to the cameraTarget 50 50 static PNode* nullParent; //!< A reference to the Null-PNode. 51 51 static ObjectManager* objectManager; //!< A referenct to the current ObjectManager
Note: See TracChangeset
for help on using the changeset viewer.