Changeset 5898 for code/branches/core5/src/modules/pong/Pong.cc
- Timestamp:
- Oct 7, 2009, 2:02:15 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/modules/pong/Pong.cc
r5893 r5898 76 76 this->ball_->setFieldDimension(this->center_->getFieldDimension()); 77 77 this->ball_->setSpeed(0); 78 this->ball_->setAccelerationFactor(this->center_->getBallAccelerationFactor()); 78 79 this->ball_->setBatLength(this->center_->getBatLength()); 79 80 … … 172 173 this->ball_->setPosition(Vector3::ZERO); 173 174 this->ball_->setVelocity(Vector3::ZERO); 175 this->ball_->setAcceleration(Vector3::ZERO); 174 176 this->ball_->setSpeed(0); 175 177 }
Note: See TracChangeset
for help on using the changeset viewer.