Changeset 2163
- Timestamp:
- Nov 9, 2008, 12:53:57 PM (16 years ago)
- Location:
- code/branches/objecthierarchy/src/orxonox/gamestates
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy/src/orxonox/gamestates/GSDedicated.cc
r2161 r2163 75 75 server_->tick(time.getDeltaTime()); 76 76 this->tickChild(time); 77 78 /*** HACK *** HACK ***/79 // Call the Tickable objects80 for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ++it)81 it->tick(time.getDeltaTime());82 /*** HACK *** HACK ***/83 77 } 84 78 } -
code/branches/objecthierarchy/src/orxonox/gamestates/GSGraphics.cc
r2101 r2163 56 56 #include "gui/GUIManager.h" 57 57 #include "tools/WindowEventListener.h" 58 #include "objects/Tickable.h"59 58 #include "Settings.h" 60 59 … … 242 241 this->tickChild(time); 243 242 244 /*** HACK *** HACK ***/245 // Call the Tickable objects246 for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ++it)247 it->tick(time.getDeltaTime());248 /*** HACK *** HACK ***/249 250 243 if (this->bWindowEventListenerUpdateRequired_) 251 244 { -
code/branches/objecthierarchy/src/orxonox/gamestates/GSRoot.cc
r2079 r2163 41 41 #include "core/TclThreadManager.h" 42 42 #include "tools/Timer.h" 43 #include "objects/Tickable.h" 43 44 #include "Settings.h" 44 45 … … 143 144 it->tick(time); 144 145 146 /*** HACK *** HACK ***/ 147 // Call the Tickable objects 148 for (ObjectList<Tickable>::iterator it = ObjectList<Tickable>::begin(); it; ++it) 149 it->tick(time.getDeltaTime()); 150 /*** HACK *** HACK ***/ 151 145 152 this->tickChild(time); 146 153 }
Note: See TracChangeset
for help on using the changeset viewer.