- Timestamp:
- May 24, 2018, 3:36:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.h
r11979 r11992 21 21 * 22 22 * Author: 23 * Oli Scheuss23 * Marc Dreher 24 24 * Co-authors: 25 * Damian 'Mozork' Frick25 * .. 26 26 * 27 27 */ … … 35 35 36 36 #include "worldentities/ControllableEntity.h" 37 //Test 37 38 38 namespace orxonox { 39 39 … … 51 51 void resetGhost(); 52 52 53 void setnewTarget(int firstdec);54 void setnewTarget(int firstdec, int seconddec);55 void setnewTarget(int firstdec, int seconddec, int thirddec);56 void setnewTarget(int firstdec, int seconddec, int thirddec, int fourthdec);57 53 void changewith(PacmanGhost* otherghost); 58 54 void levelupvelo(); … … 61 57 void changemovability(); 62 58 bool dontmove = false; 63 bool lockmove = false; 59 60 private: 61 int decision = 0; 62 Vector3 resetposition = Vector3(0,10,15); 63 Vector3 velocity; 64 int speed = 20; 64 65 65 66 Vector3 actuelposition; … … 67 68 int target_x = 0; 68 69 int target_z = 0; 69 Vector3 velocity; 70 Vector3 oldvelocity = Vector3(2,0,0); 71 int speed = 20; 70 bool lockmove = false; 72 71 73 private: 74 int decision = 0; //Gives the random which way information to the ghost. 75 Vector3 resetposition = Vector3(0,10,15); 72 void setnewTarget(int firstdec); 73 void setnewTarget(int firstdec, int seconddec); 74 void setnewTarget(int firstdec, int seconddec, int thirddec); 75 void setnewTarget(int firstdec, int seconddec, int thirddec, int fourthdec); 76 76 }; 77 77
Note: See TracChangeset
for help on using the changeset viewer.