[Orxonox-commit 7752] r12345 - code/branches/OrxoBlox_FS19/src/modules/OrxoBlox

ahuwyler at orxonox.net ahuwyler at orxonox.net
Thu May 9 11:18:16 CEST 2019


Author: ahuwyler
Date: 2019-05-09 11:18:16 +0200 (Thu, 09 May 2019)
New Revision: 12345

Modified:
   code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc
Log:
All normal

Modified: code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc
===================================================================
--- code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc	2019-05-09 09:14:44 UTC (rev 12344)
+++ code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBlox.cc	2019-05-09 09:18:16 UTC (rev 12345)
@@ -211,8 +211,7 @@
     void OrxoBlox::LevelUp(){
         level_++;
         this->createWall();
-        //this->activeWalls_.push_back(this->futureWall_);
-        //When levelup? wo wird es ausgeloest?
+        this->activeWalls_.push_back(this->futureWall_);
         //new location of ship
         //new amount of balls
         //create balls
@@ -228,9 +227,7 @@
         // Attach the brick to the Centerpoint and set the position of the brick to be at the left side.
         this->center_->attach(this->futureWall_);
         
-        float y_=(this->center_->getFieldDimension()).y;
-                //stone->setPosition(size_*i -x_/2 +4.5f, -3.5f, -y_/2 + 6.5f);
-        this->futureWall_->setPosition(0, 0, -y_/2 + 6.5f);
+        this->futureWall_->setPosition(0, 0, 0);
         this->futureWall_->setGame(this);
     }
 



More information about the Orxonox-commit mailing list