Changeset 6366 in orxonox.OLD for branches/network/src/story_entities/game_world.h
- Timestamp:
- Dec 31, 2005, 1:13:27 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/story_entities/game_world.h
r6365 r6366 35 35 void loadParams(const TiXmlElement* root); 36 36 37 double getGameTime();38 37 39 38 /* classes from story-entity */ … … 55 54 virtual void spawn (WorldEntity* entity); 56 55 57 /** @param speed sets the speed of the Game */ 56 57 /** this returns the current game time @returns elapsed game time */ 58 inline double getGameTime() { return this->gameTime; } 59 /** sets the game speed @param speed speed of the Game */ 58 60 inline void setSpeed(float speed) { this->speed = speed; }; 59 const char* getPath(); 61 /** returns the track path of this world @returns the track path */ 62 const char* getPath() { return path; } 60 63 void setPath( const char* name); 61 64 65 /** toggles the PNode visibility in the world (drawn as boxes) */ 62 66 void togglePNodeVisibility() { this->showPNodes = !this->showPNodes; }; 67 /** toggles the bounding volume (BV) visibility */ 63 68 void toggleBVVisibility() { this->showBV = !this->showBV; }; 64 69
Note: See TracChangeset
for help on using the changeset viewer.