Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

levelup beginning

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.