Changeset 11949
- Timestamp:
- May 5, 2018, 12:26:38 AM (7 years ago)
- Location:
- code/branches/3DPacman_FS18
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/data/levels/3DPacman.oxw
r11945 r11949 105 105 </PacmanPointSphere> 106 106 107 108 <!-- AfraidPoints --> 107 109 <PacmanPointAfraid position="215,10,195"> 108 110 <attached> … … 110 112 </attached> 111 113 </PacmanPointAfraid> 114 112 115 113 116 <!-- Map --> -
code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc
r11948 r11949 126 126 } 127 127 128 129 while(lock){}; 130 lock = true; 128 131 //Check on which position ghost has arrived and set new target 129 132 else{ … … 333 336 this->resetGhost(); //Shouldn't happen... 334 337 } //End of Position table 335 } 336 338 339 } 340 look = false; 337 341 } 338 342 … … 418 422 419 423 void PacmanGhost::changewith(PacmanGhost* otherghost){ 424 425 while(lock){}; 426 lock = true; 427 420 428 otherghost->setPosition(this->getPosition()); 421 429 this->setPosition(0,-20,0); … … 426 434 this->dontmove = true; 427 435 otherghost->dontmove = false; 436 437 lock = false; 428 438 } 429 439
Note: See TracChangeset
for help on using the changeset viewer.