- Timestamp:
- May 11, 2018, 1:44:20 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/Pacman.cc
r11954 r11956 45 45 46 46 // firstGame = true; //needed for the HUD 47 lives = 10;47 lives = 3; 48 48 point = 0; 49 49 level = 1; … … 68 68 //orxout() << timer << endl; 69 69 //orxout() << afraid << endl; 70 //orxout() << totallevelpoint << endl; 70 71 71 72 … … 167 168 168 169 void Pacman::posreset(){ 169 for( PacmanGhost* nextghost : ObjectList<PacmanGhost>()){170 nextghost->resetGhost();170 for(int i = 0; i<4; ++i){ 171 ghosts[i]->resetGhost(); 171 172 } 172 173 player->setPosition(startposplayer); … … 206 207 nextghost->dontmove = true; 207 208 }; 208 209 209 i++; 210 210 } 211 212 totallevelpoint = ObjectList<PacmanPointSphere>().size(); 213 211 214 } 212 215
Note: See TracChangeset
for help on using the changeset viewer.