Changeset 11944
- Timestamp:
- May 4, 2018, 11:42:09 PM (7 years ago)
- Location:
- code/branches/3DPacman_FS18/src/modules/pacman
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/Pacman.cc
r11943 r11944 48 48 point = 0; 49 49 level = 1; 50 afraid = false;51 timer = 0;52 50 53 51 // setHUDTemplate("PacmanOrxHUD"); … … 137 135 } 138 136 139 void setAfraid(){140 this->afraid = true;141 t his->timer = 10; //Set timer to 10 seconds137 void Pacman::setAfraid(){ 138 afraid = true; 139 timer = 10; //Set timer to 10 seconds 142 140 } 143 141 -
code/branches/3DPacman_FS18/src/modules/pacman/Pacman.h
r11942 r11944 94 94 PacmanGelb* player; 95 95 bool bcolli = false; 96 float timer ;96 float timer = 0; 97 97 Vector3 startposplayer = Vector3(0,10,245); 98 98 int totallevelpoint = 3; 99 99 //bool firstGame; 100 bool afraid ;100 bool afraid = false; 101 101 102 102 private: -
code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc
r11933 r11944 426 426 } 427 427 428 void changemovability(){428 void PacmanGhost::changemovability(){ 429 429 if(dontmove){ 430 430 dontmove = false;}
Note: See TracChangeset
for help on using the changeset viewer.