Changeset 12351 for code/branches/OrxoBlox_FS19/src
- Timestamp:
- May 9, 2019, 1:59:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc
r12350 r12351 188 188 // Call end for the parent class. 189 189 Deathmatch::end(); 190 GSLevel::startMainMenu(); 190 191 } 191 192 … … 216 217 void OrxoBlox::LevelUp(){ 217 218 level_++; 219 220 for(OrxoBloxWall* Wall : this->activeWalls_){ 221 int z_=(Wall->getPosition()).z; 222 if(z_==90)this->end(); 223 Wall->setPosition(0,0,z_+9.0f); 224 } 218 225 this->createWall(); 219 220 for(OrxoBloxWall* Wall : this->activeWalls_){221 int x_=(Wall->getPosition()).x;222 orxout()<<x_<<endl;223 Wall->setPosition(0,0,x_+10.0f);224 }225 226 226 this->activeWalls_.push_back(this->futureWall_); 227 227 for (int i = 0; i < this->futureWall_->getNumberOfStones(); i++) {
Note: See TracChangeset
for help on using the changeset viewer.