Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 12389


Ignore:
Timestamp:
May 16, 2019, 4:37:19 PM (5 years ago)
Author:
pemil
Message:

final 1.2

Location:
code/branches/3DPacman_FS19/src/modules/pacman
Files:
2 edited

Legend:

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

    r12386 r12389  
    5959        }
    6060
     61       
     62        PacmanLaser* pos = *(ObjectList<PacmanLaser>().begin());
     63        pos->resetPacmanLaser();
     64
     65
     66
    6167        for(PacmanPointAfraid* next : ObjectList<PacmanPointAfraid>()){
    6268            next->resetPacmanPointAfraid();
     
    97103
    98104            //support by laser
    99             if(point > laser){
     105            if(point > laser + 240*(level-1)){
    100106             
    101107                for(PacmanPointSphere* pointer : ObjectList<PacmanPointSphere>()){
     
    288294            i++;
    289295        }
    290        
    291296
    292297        //Set maximum of points of first level
  • code/branches/3DPacman_FS19/src/modules/pacman/PacmanLaser.cpp

    r12380 r12389  
    4646    void PacmanLaser::resetPacmanLaser(){
    4747        resetposition = this->getPosition();
    48         resetposition.y = -50;
     48        resetposition.y = -20000;
    4949        this->setPosition(resetposition);
    5050    }
Note: See TracChangeset for help on using the changeset viewer.