- Timestamp:
- May 11, 2018, 1:44:20 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/3DPacman_FS18/src/modules/pacman/PacmanPointAfraid.cc
r11954 r11956 45 45 { 46 46 RegisterObject(PacmanPointAfraid); 47 this->setCollisionType(CollisionType::None); 47 this->setCollisionType(CollisionType::None); 48 48 } 49 49 … … 73 73 74 74 bool PacmanPointAfraid::taken(Vector3 playerpos) 75 { 76 Vector3 resetposition = this->getPosition(); 77 75 { 76 resetposition = this->getPosition(); 78 77 if((abs(resetposition.x - playerpos.x)<1) && (abs(resetposition.z - playerpos.z)<1)){ 79 78 this->setPosition(Vector3(resetposition.x, -50, resetposition.z));
Note: See TracChangeset
for help on using the changeset viewer.