- Timestamp:
- May 2, 2019, 4:32:19 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxBall.cc
r12331 r12336 143 143 velocity.z = -velocity.z; 144 144 // 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){ 148 150 position.z = -this->fieldHeight_ / 2; 151 152 } 149 153 150 154 this->fireEvent();
Note: See TracChangeset
for help on using the changeset viewer.