Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 4, 2018, 11:42:09 PM (6 years ago)
Author:
dreherm
Message:

Afraid Test 6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/3DPacman_FS18/src/modules/pacman/Pacman.cc

    r11943 r11944  
    4848        point = 0;
    4949        level = 1;
    50         afraid = false;
    51         timer = 0;
    5250
    5351       // setHUDTemplate("PacmanOrxHUD");
     
    137135    }
    138136
    139     void setAfraid(){
    140         this->afraid = true;
    141         this->timer = 10; //Set timer to 10 seconds
     137    void Pacman::setAfraid(){
     138        afraid = true;
     139        timer = 10; //Set timer to 10 seconds
    142140    }
    143141
Note: See TracChangeset for help on using the changeset viewer.