Changeset 9866 for code/branches/invaders/src/modules
- Timestamp:
- Dec 2, 2013, 5:43:39 PM (11 years ago)
- Location:
- code/branches/invaders/src/modules/invader
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/invaders/src/modules/invader/Invader.cc
r9858 r9866 139 139 void Invader::end() 140 140 { 141 orxout() << "STOP THE GAME, CHEATER!!!" << endl; 141 142 // Call end for the parent class. 142 Deathmatch::end();143 // Deathmatch::end(); 143 144 } 144 145 } -
code/branches/invaders/src/modules/invader/Invader.h
r9858 r9866 72 72 void addPoints(int numPoints){point += numPoints * multiplier; b_combo = true;} 73 73 void comboControll(); 74 int lives; 74 75 private: 75 76 WeakPtr<InvaderCenterPoint> center_; … … 80 81 Timer comboTimer; 81 82 //Context* context; 82 int lives;83 83 int level; 84 84 int point; -
code/branches/invaders/src/modules/invader/InvaderEnemy.cc
r9862 r9866 68 68 inline bool InvaderEnemy::collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint) 69 69 { 70 // setVelocity(Vector3(1 000,0,0));70 // setVelocity(Vector3(1500,0,0)); 71 71 removeHealth(2000); 72 72 return false; -
code/branches/invaders/src/modules/invader/InvaderHUDinfo.cc
r9854 r9866 80 80 { 81 81 const std::string& points = multi_cast<std::string>(this->InvaderGame->getPoints()); 82 if (this->InvaderGame->lives <= 0) 83 { 84 setTextSize(0.1); 85 setPosition(Vector2(0.2, 0.5)); 86 } 82 87 this->setCaption(points); 83 88 }
Note: See TracChangeset
for help on using the changeset viewer.