- Timestamp:
- Apr 25, 2019, 2:45:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS19/src/modules/pacman/PacmanRed.cc
r12322 r12323 45 45 46 46 for(int u=0; u < 67; u++){//always check if player passed a point 47 if(jeanfindpos(this->getPlayerPos(), possibleposition[u])){ 48 this->lastPlayerPassedPoint=possibleposition[u]; 49 } 47 //if(possibleposition[u]!=Vector3(0,10,15)){ 48 if(jeanfindpos(this->getPlayerPos(), possibleposition[u])){ 49 //if(!findpos(possibleposition[u],Vector3(0,10,15))){ 50 this->lastPlayerPassedPoint=possibleposition[u]; 51 } 52 //} 53 //} 50 54 } 51 55 … … 125 129 std::cout<<this->actuelposition<<endl;*/ 126 130 131 //if(!findpos(pointInFrontOfPlayer, Vector3(0,10,15))){ 127 132 nextMove(lastPlayerPassedPoint, pointInFrontOfPlayer); 133 //} 128 134 std::cout<<"ogslodm"<<endl; 129 135 }
Note: See TracChangeset
for help on using the changeset viewer.