Changeset 12342
- Timestamp:
- May 9, 2019, 10:46:20 AM (6 years ago)
- 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 153 153 154 154 // Create the first Wall. 155 this-> createWall();155 this->LevelUp(); 156 156 157 157 //Create Ship … … 218 218 void OrxoBlox::LevelUp(){ 219 219 level_++; 220 for(int i=8; i>-1; --i){ 221 activeWalls_[i]=activeWalls_[i+1]; 222 } 223 this->createWall(); 224 //activeWalls_[0]= 220 225 //When levelup? wo wird es ausgeloest? 221 226 //new location of ship … … 223 228 //create balls 224 229 //insert new wall 230 225 231 } 226 232 -
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxStones.cc
r12331 r12342 17 17 RegisterObject(OrxoBloxStones); 18 18 19 this->size_ = 10.0f;19 this->size_ = 9.0f; 20 20 this->health_ = 1 + static_cast<unsigned int>(rnd(6.0f)); //<! random number between 0 and 7; 21 21 this->delay_ = false;
Note: See TracChangeset
for help on using the changeset viewer.