- Timestamp:
- Apr 24, 2019, 10:38:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS19/src/modules/pacman/PacmanRed.cc
r12319 r12322 16 16 this->target_x=0; 17 17 this->target_z=15; 18 this->lastPlayerPassedPoint=Vector3( 70,10,-135);18 this->lastPlayerPassedPoint=Vector3(0,0,0); //Vector3(70,10,-135); 19 19 this->isNearPlayer=false; 20 20 … … 81 81 } 82 82 //std::cout<<"LemanExpress4"<<endl; 83 } 84 else if(this->lastPlayerPassedPoint==Vector3(0,0,0)){ 85 //as long as the player has not started the game, 86 //i.e. lastPlayerPastPoint is (0,0,0), red pacman 87 //cannot possibly move, because it needs the position 88 //of the player to move accordingly 89 90 this->ismoving=false; 83 91 } 84 92
Note: See TracChangeset
for help on using the changeset viewer.