Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 28, 2008, 8:30:25 PM (17 years ago)
Author:
rgrieder
Message:
  • Wrote Clock() class: It starts an internal clock when GSRoot starts and gets handed to all GameState ticks as reference. You can then either query the ticked time or the real time (for instance for statistical measurements)
  • general clean up in all the game states
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/orxonox/gamestates/GSIOConsole.cc

    r1672 r1674  
    5858    }
    5959
    60     void GSIOConsole::ticked(float dt, uint64_t time)
     60    void GSIOConsole::ticked(const Clock& time)
    6161    {
    6262        std::string command;
     
    6464        CommandExecutor::execute(command, true);
    6565       
    66         tickChild(dt, time);
     66        tickChild(time);
    6767    }
    6868}
Note: See TracChangeset for help on using the changeset viewer.