Changeset 10017 in orxonox.OLD for branches/playability/src/util
- Timestamp:
- Dec 5, 2006, 7:14:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/util/state.h
r9971 r10017 109 109 static inline int getMenuID() { return State::menuID;} 110 110 111 //////////////////////// 112 /// Scroller-Control /// 113 //////////////////////// 114 /** sets the scroller-travelnode (center of the screen) */ 115 static void setTravelNode(PNode* travelNode) {State::travelNode = travelNode;} 116 /** @returns the scroller-travelnode (center of the screen) */ 117 static PNode* getTravelNode() { return State::travelNode; } 118 111 119 112 120 private: … … 122 130 static GameRules* gameRules; //!< A reference to the GameRules 123 131 static Player* player; //!< A reference to the Player 132 static PNode* travelNode; //!< A reference to the scroller-travelnode 124 133 125 134 static SkyBox* skyBox; //!< The SkyBox used in the current world.
Note: See TracChangeset
for help on using the changeset viewer.