Changeset 11923 for code/branches/3DPacman_FS18/src/modules/pacman
- Timestamp:
- Apr 29, 2018, 2:01:19 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.cc
r11922 r11923 335 335 336 336 void PacmanGhost::setnewTarget(int firstdec){ 337 /*337 338 338 decision = rand()%1; 339 339 switch(decision){ … … 344 344 break; 345 345 } 346 */347 346 } 348 347 … … 418 417 419 418 void PacmanGhost::move(float dt, Vector3 actuelposition, Vector3 velocity){ 420 //this->setPosition(Vector3(actuelposition.x+20*velocity.x*dt,10,actuelposition.z+20*velocity.z*dt));419 this->setPosition(Vector3(actuelposition.x+20*velocity.x*dt,10,actuelposition.z+20*velocity.z*dt)); 421 420 } 422 421
Note: See TracChangeset
for help on using the changeset viewer.