Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 5, 2018, 12:12:36 AM (7 years ago)
Author:
dreherm
Message:

Afraid Test 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/3DPacman_FS18/src/modules/pacman/PacmanGhost.h

    r11940 r11945  
    5555            void setnewTarget(int firstdec, int seconddec, int thirddec);
    5656            void setnewTarget(int firstdec, int seconddec, int thirddec, int fourthdec);
    57 
     57            void changewith(PacmanGhost* otherghost);
    5858
    5959            bool findpos(Vector3 one, Vector3 other);     
    6060            void changemovability();
    6161            bool dontmove = false;
    62         private:
     62
     63            Vector3 actuelposition;
    6364            bool ismoving = false;
    64             int decision = 0; //Gives the random which way information to the ghost.
    6565            int target_x = 0;
    6666            int target_z = 0;
    67             Vector3 actuelposition;
     67           
     68        private:
     69            int decision = 0; //Gives the random which way information to the ghost.
    6870            Vector3 velocity;
    6971            Vector3 resetposition = Vector3(0,10,15);
Note: See TracChangeset for help on using the changeset viewer.