- Timestamp:
- May 18, 2018, 12:38:37 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/Pacman.cc
r11976 r11978 44 44 RegisterObject(Pacman); 45 45 46 // firstGame = true; //needed for the HUD 47 lives = 0; 46 lives = 3; 48 47 point = 0; 49 48 level = 1; 50 49 51 // setHUDTemplate("PacmanOrxHUD");52 // scoreboardTemplate_ = "";53 50 } 54 51 … … 188 185 } 189 186 187 bool Pacman::getAfraid(){ 188 return afraid; 189 } 190 191 int Pacman::getTimer(){ 192 return timer; 193 } 194 190 195 void Pacman::posreset(){ 191 196 for(int i = 0; i<4; ++i){ … … 215 220 int Pacman::getPoints(){ 216 221 return point; 222 } 223 224 int Pacman::getLives(){ 225 return lives; 217 226 } 218 227
Note: See TracChangeset
for help on using the changeset viewer.