Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6208 in orxonox.OLD for branches/christmas_branche/src/util/state.h


Ignore:
Timestamp:
Dec 21, 2005, 2:47:30 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: new control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/christmas_branche/src/util/state.h

    r6142 r6208  
    2525   //////////////
    2626  /** @param camera the PNode to the Camera, @param cameraTarget the PNode to the Camera's target */
    27   static void setCamera(const PNode* camera, const PNode* cameraTarget);
     27  static void setCamera(PNode* camera, PNode* cameraTarget);
    2828  /** @returns a Pointer to the PNode of the Camera */
    29   static inline const PNode* getCamera() { return State::camera; };
     29  static inline PNode* getCamera() { return State::camera; };
    3030  /** @returns a Pointer to the CameraTarget */
    31   static inline const PNode* getCameraTarget() { return State::cameraTarget; };
     31  static inline PNode* getCameraTarget() { return State::cameraTarget; };
    3232
    3333  //////////////////////
     
    4646  State();
    4747
    48   static const PNode*           camera;             //!< A reference to the camera
    49   static const PNode*           cameraTarget;       //!< A reference to the cameraTarget
     48  static PNode*                 camera;             //!< A reference to the camera
     49  static PNode*                 cameraTarget;       //!< A reference to the cameraTarget
    5050  static PNode*                 nullParent;         //!< A reference to the Null-PNode.
    5151  static ObjectManager*         objectManager;      //!< A referenct to the current ObjectManager
Note: See TracChangeset for help on using the changeset viewer.