- Timestamp:
- May 5, 2018, 12:12:36 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.h
r11940 r11945 55 55 void setnewTarget(int firstdec, int seconddec, int thirddec); 56 56 void setnewTarget(int firstdec, int seconddec, int thirddec, int fourthdec); 57 57 void changewith(PacmanGhost* otherghost); 58 58 59 59 bool findpos(Vector3 one, Vector3 other); 60 60 void changemovability(); 61 61 bool dontmove = false; 62 private: 62 63 Vector3 actuelposition; 63 64 bool ismoving = false; 64 int decision = 0; //Gives the random which way information to the ghost.65 65 int target_x = 0; 66 66 int target_z = 0; 67 Vector3 actuelposition; 67 68 private: 69 int decision = 0; //Gives the random which way information to the ghost. 68 70 Vector3 velocity; 69 71 Vector3 resetposition = Vector3(0,10,15);
Note: See TracChangeset
for help on using the changeset viewer.