Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 31, 2005, 1:13:27 PM (18 years ago)
Author:
patrick
Message:

network: inlined some functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/story_entities/game_world.h

    r6365 r6366  
    3535    void loadParams(const TiXmlElement* root);
    3636
    37     double getGameTime();
    3837
    3938    /* classes from story-entity */
     
    5554    virtual void spawn (WorldEntity* entity);
    5655
    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 */
    5860    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; }
    6063    void setPath( const char* name);
    6164
     65    /** toggles the PNode visibility in the world (drawn as boxes) */
    6266    void togglePNodeVisibility() { this->showPNodes = !this->showPNodes; };
     67    /** toggles the bounding volume (BV) visibility */
    6368    void toggleBVVisibility() { this->showBV = !this->showBV; };
    6469
Note: See TracChangeset for help on using the changeset viewer.