Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 22, 2008, 10:11:45 PM (17 years ago)
Author:
rgrieder
Message:

TimerBase are now ticked in GSRoot to be able to use them anywhere.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/gamestates/GSRoot.cc

    r1795 r1826  
    4444#include "core/TclBind.h"
    4545#include "core/TclThreadManager.h"
     46#include "tools/Timer.h"
    4647#include "GraphicsEngine.h"
    4748#include "Settings.h"
     
    179180    {
    180181        TclThreadManager::getInstance().tick(time.getDeltaTime());
     182
     183        for (ObjectList<TimerBase>::iterator it = ObjectList<TimerBase>::begin(); it; ++it)
     184            it->tick(time);
    181185
    182186        this->tickChild(time);
Note: See TracChangeset for help on using the changeset viewer.