Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11927


Ignore:
Timestamp:
Apr 29, 2018, 2:07:18 PM (6 years ago)
Author:
dreherm
Message:

Disk quota test 8

File:
1 edited

Legend:

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

    r11926 r11927  
    4646        RegisterObject(PacmanGhost);
    4747
    48        /* this->velocity = Vector3(0, 0, 0);
     48        this->velocity = Vector3(0, 0, 0);
    4949
    5050        this->setCollisionType(CollisionType::Dynamic);
     
    5555       
    5656        this->target_x = actuelposition.x;
    57         this->target_z = actuelposition.z; */
     57        this->target_z = actuelposition.z;
    5858
    5959    }
     
    105105
    106106        //setorientation
    107 /*
     107
    108108        this->actuelposition = this->getPosition();
    109109       
     
    330330            } //End of Position table
    331331            }
    332 */
     332
    333333    }
    334334
     
    345345    }
    346346
    347     void PacmanGhost::setnewTarget(int firstdec, int seconddec){ /*
     347    void PacmanGhost::setnewTarget(int firstdec, int seconddec){
    348348           decision = rand()%2;
    349349            switch(decision){
     
    359359                    break; 
    360360            }
    361             */
     361           
    362362    }
    363363
    364364    void PacmanGhost::setnewTarget(int firstdec, int seconddec, int thirddec){
    365         /*
     365       
    366366           decision = rand()%3;
    367367            switch(decision){
     
    382382                    break;   
    383383                }
    384             */
     384           
    385385        }
    386386
    387387    void PacmanGhost::setnewTarget(int firstdec, int seconddec, int thirddec, int fourthdec){
    388         /*
     388       
    389389           decision = rand()%4;
    390390            switch(decision){
     
    410410                    break;   
    411411                }
    412             */
     412           
    413413        }
    414414
     
    425425
    426426    void PacmanGhost::resetGhost(){
    427         /*
     427   
    428428        this->setPosition(this->resetposition);
    429429        this->ismoving = false;
     
    432432        this->target_x = actuelposition.x;
    433433        this->target_z = actuelposition.z;
    434         */
     434   
    435435    }
    436436}
Note: See TracChangeset for help on using the changeset viewer.