Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 2, 2019, 4:32:19 PM (6 years ago)
Author:
jeromela
Message:

minor changes

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

Legend:

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

    r12335 r12336  
    143143            // Attach the ball to the centerpoint and set the parameters as specified in the centerpoint, the ball is attached to.
    144144            this->center_->attach(this->ball_);
    145             this->ball_->setPosition(0, 0, 50);
     145            this->ball_->setPosition(0, 0, 40);
    146146            this->ball_->setFieldDimension(this->center_->getFieldDimension());
    147147            this->ball_->setSpeed(0);
     
    202202        }
    203203    }
     204
    204205
    205206    OrxoBloxShip* OrxoBlox::getPlayer()
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxBall.cc

    r12331 r12336  
    143143            velocity.z = -velocity.z;
    144144            // And its position is set as to not overstep the boundary it has just crossed.
    145             if (position.z > this->fieldHeight_ / 2)
    146                 ChatManager::message("Ball hat das Feld verlassen.Jerome");
    147             if (position.z < -this->fieldHeight_ / 2)
     145            if (position.z > this->fieldHeight_ / 2){
     146                ChatManager::message("Ball hat das Feld verlassen");
     147                //TODO: ball zerstoeren
     148            }
     149            if (position.z < -this->fieldHeight_ / 2){
    148150                position.z = -this->fieldHeight_ / 2;
     151               
     152            }
    149153
    150154            this->fireEvent();
Note: See TracChangeset for help on using the changeset viewer.