Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 9, 2019, 10:46:20 AM (6 years ago)
Author:
ahuwyler
Message:

levelup beginning

Location:
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc

    r12339 r12342  
    153153
    154154            // Create the first Wall.
    155             this->createWall();
     155            this->LevelUp();
    156156
    157157            //Create Ship
     
    218218    void OrxoBlox::LevelUp(){
    219219        level_++;
     220        for(int i=8; i>-1; --i){
     221            activeWalls_[i]=activeWalls_[i+1];
     222        }
     223        this->createWall();
     224        //activeWalls_[0]=
    220225        //When levelup? wo wird es ausgeloest?
    221226        //new location of ship
     
    223228        //create balls
    224229        //insert new wall
     230
    225231    }
    226232
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxStones.cc

    r12331 r12342  
    1717        RegisterObject(OrxoBloxStones);
    1818
    19         this->size_ = 10.0f;
     19        this->size_ = 9.0f;
    2020        this->health_ = 1 + static_cast<unsigned int>(rnd(6.0f)); //<! random number between 0 and 7;
    2121        this->delay_ = false;
Note: See TracChangeset for help on using the changeset viewer.