Changeset 12009
- Timestamp:
- May 25, 2018, 10:17:11 AM (7 years ago)
- Location:
- code/branches/3DPacman_FS18/src/modules/pacman
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc
r11992 r12009 123 123 } 124 124 } 125 //Check on which position ghost has arrived and set new target125 //Check on which position the ghost has arrived and set new target 126 126 else{ 127 127 while(lockmove){}; -
code/branches/3DPacman_FS18/src/modules/pacman/PacmanPointSphere.cc
r12007 r12009 76 76 { 77 77 resetposition = this->getPosition(); 78 if((abs(this->resetposition.x - playerpos.x)<10) && (abs(this->resetposition.y - playerpos.y)<10) && (abs(this->resetposition.z - playerpos.z)< 10)){78 if((abs(this->resetposition.x - playerpos.x)<10) && (abs(this->resetposition.y - playerpos.y)<10) && (abs(this->resetposition.z - playerpos.z)<5)){ 79 79 this->setPosition(Vector3(resetposition.x, -50, resetposition.z)); 80 80 return true;
Note: See TracChangeset
for help on using the changeset viewer.