Changeset 3108 for code/trunk/src/orxonox/objects/worldentities/PongBall.h
- Timestamp:
- May 29, 2009, 12:46:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/objects/worldentities/PongBall.h
r3084 r3108 44 44 45 45 virtual void tick(float dt); 46 46 47 47 void registerVariables(); 48 48 … … 65 65 void setBats(PongBat** bats) 66 66 { this->bat_ = bats; this->batID_[0] = this->bat_[0]->getObjectID(); this->batID_[1] = this->bat_[1]->getObjectID(); } 67 67 68 68 void applyBats() 69 69 { if(!this->bat_) this->bat_ = new PongBat*[2]; if(this->batID_[0] != OBJECTID_UNKNOWN) this->bat_[0] = dynamic_cast<PongBat*>(Synchronisable::getSynchronisable(this->batID_[0])); if(this->batID_[1] != OBJECTID_UNKNOWN) this->bat_[1] = dynamic_cast<PongBat*>(Synchronisable::getSynchronisable(this->batID_[1])); } … … 79 79 unsigned int* batID_; 80 80 float relMercyOffset_; 81 82 SoundBase* sidesound_; 83 SoundBase* batsound_; 84 SoundBase* scoresound_; 81 85 }; 82 86 }
Note: See TracChangeset
for help on using the changeset viewer.