Changeset 4066 in orxonox.OLD for orxonox/branches/md2_loader/src/story_entities
- Timestamp:
- May 5, 2005, 8:59:01 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/md2_loader/src/story_entities/world.cc
r4015 r4066 40 40 #include "garbage_collector.h" 41 41 #include "animation_player.h" 42 #include "graphics_engine.h" 42 43 43 44 #include "command_node.h" … … 258 259 this->localCamera = new Camera(); 259 260 this->localCamera->setName ("camera"); 261 262 GraphicsEngine::getInstance()->displayFPS(true); 260 263 } 261 264 … … 1115 1118 this->localCamera->tick(this->dt); 1116 1119 this->garbageCollector->tick(seconds); 1117 1118 AnimationPlayer::getInstance()->tick(seconds); 1120 1121 /* actualy the Graphics Engine should tick the world not the other way around... 1122 but since we like the things not too complicated we got it this way around 1123 until there is need or time to do it the other way around. 1124 \todo: GraphicsEngine ticks world: separation of processes and data... 1125 */ 1126 GraphicsEngine::getInstance()->tick(seconds); 1127 AnimationPlayer::getInstance()->tick(seconds); 1119 1128 } 1120 1129 this->lastFrame = currentFrame;
Note: See TracChangeset
for help on using the changeset viewer.