Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 4, 2019, 3:33:04 PM (5 years ago)
Author:
rueegseb
Message:

overload setnewTarget for Argument Vecor3 and implementation of the red ghost character

File:
1 edited

Legend:

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

    r12259 r12272  
    7373            Vector3 actuelposition;
    7474            bool ismoving = false;
    75             int target_x = 0;   // next step
    76             int target_z = 0;
    77             int goal_x = 0;     // faraway goal to dertmine the direction of the target
    78             int goal_z =0;   
     75            int target_x = 0;   // one step
     76            int target_z = 0;
    7977
    8078            bool lockmove = false;
     
    8280            /*
    8381            colour=
    84             1: red
    85             2: blue
    86             3: orange
    87             4: pink
     82            1: red:     follow
     83            2: pink:    get infront of him   
     84            3: blue:    patrol an area
     85            4: orange:  get away of Pacman
    8886            */
    8987            void setnewTarget(int firstdec);
Note: See TracChangeset for help on using the changeset viewer.