Changeset 169 for code/branches/main_reto_vs05/src/run_manager.cc
- Timestamp:
- Nov 5, 2007, 8:43:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/main_reto_vs05/src/run_manager.cc
r161 r169 25 25 */ 26 26 27 28 /**29 * RunManager is the basic control object during the game.30 *31 * The RunManger class is designed to actually "run" the main part of the32 * game. The Idea is, that you could derive from the RunManager in order33 * to distinguish between a first person shooter or a space craft shooter.34 * RunManager loads and initialises everything in the scene (like the ship,35 * the enemies in the scene, any scripts, the physics, window events,36 * environment, HUD, etc.).37 * It also captures any input from keyboard, mous, joystick (optional) or38 * Ogre (window events).39 */40 27 41 28 #include "Ogre.h" … … 69 56 #include "run_manager.h" 70 57 71 namespace Orxonox {58 namespace orxonox { 72 59 using namespace Ogre; 60 61 /** 62 * RunManager is the basic control object during the game. 63 * 64 * The RunManger class is designed to actually "run" the main part of the 65 * game. The Idea is, that you could derive from the RunManager in order 66 * to distinguish between a first person shooter or a space craft shooter. 67 * RunManager loads and initialises everything in the scene (like the ship, 68 * the enemies in the scene, any scripts, the physics, window events, 69 * environment, HUD, etc.). 70 * It also captures any input from keyboard, mous, joystick (optional) or 71 * Ogre (window events). 72 */ 73 73 74 74 75 /** … … 240 241 for (int i = 0; i < bulletsIndex_; i++) 241 242 { 242 bullets_[i]-> mNode->translate(bullets_[i]->mSpeed*deltaTime);243 bullets_[i]-> mNode->yaw(Degree(deltaTime*100));244 bullets_[i]-> mNode->roll(Degree(deltaTime*300));243 bullets_[i]->node_->translate(bullets_[i]->speed_*deltaTime); 244 bullets_[i]->node_->yaw(Degree(deltaTime*100)); 245 bullets_[i]->node_->roll(Degree(deltaTime*300)); 245 246 } 246 247
Note: See TracChangeset
for help on using the changeset viewer.