Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 19, 2009, 10:34:54 AM (15 years ago)
Author:
rgrieder
Message:

Renaming "tick" to "update" for all those classes not inheriting from Tickable to avoid confusions.
GameState::ticked still exists, but that's going to change anyway.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/orxonox/gui/GUIManager.h

    r2790 r2800  
    4040#include <CEGUIInputEvent.h>
    4141#include <CEGUISystem.h>
     42#include "core/Clock.h"
    4243#include "core/input/InputInterfaces.h"
    4344
     
    7172        bool initialise(Ogre::RenderWindow* renderWindow);
    7273        void loadScene(const std::string& name);
    73         void tick(float dt)
     74        void update(const Clock& time)
    7475        {
    7576            assert(guiSystem_);
    76             guiSystem_->injectTimePulse(dt);
     77            guiSystem_->injectTimePulse(time.getDeltaTime());
    7778        }
    7879        void showGUI(const std::string& name, Ogre::SceneManager* sceneManager);// bool showBackground); // tolua_export
     
    108109        { guiSystem_->injectMouseWheelChange(rel);}
    109110
    110         void tickInput(float dt) { }
    111         void tickKey(float dt) { }
    112         void tickMouse(float dt) { }
     111        void updateInput(float dt) { }
     112        void updateKey(float dt) { }
     113        void updateMouse(float dt) { }
    113114
    114115        void loadScenes();
Note: See TracChangeset for help on using the changeset viewer.