- Timestamp:
- Nov 11, 2013, 4:01:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/invaders/src/modules/invader/InvaderShip.cc
r9744 r9777 52 52 isFireing = false; 53 53 damping = 10; 54 55 54 } 56 55 … … 75 74 ControllableEntity::fire(0); 76 75 76 if (getPosition().x > 30000) 77 { 78 //level++ 79 setPosition(getPosition() - Vector3(30000, 0, 0)); 80 } 81 82 // if ((int(getPosition().x) % 1000) < 5) 83 // { 84 // for (ObjectList<Invader>::iterator it = ObjectList<Invader>::begin(); it != ObjectList<Invader>::end(); ++it) 85 // it->spawnEnemy(); 86 // } 77 87 78 88 // camera->setOrientation(Vector3::UNIT_X, Degree(0)); … … 81 91 SUPER(InvaderShip, tick, dt); 82 92 } 93 94 83 95 84 96 void InvaderShip::moveFrontBack(const Vector2& value)
Note: See TracChangeset
for help on using the changeset viewer.