Changeset 11083 for code/trunk/src/modules/pong
- Timestamp:
- Jan 21, 2016, 1:59:04 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/pong/Pong.cc
r11071 r11083 326 326 PlayerInfo* Pong::getLeftPlayer() const 327 327 { 328 if (this->bat_ != nullptr && this->bat_[0] != nullptr)328 if (this->bat_[0] != nullptr) 329 329 return this->bat_[0]->getPlayer(); 330 330 else … … 340 340 PlayerInfo* Pong::getRightPlayer() const 341 341 { 342 if (this->bat_ != nullptr && this->bat_[1] != nullptr)342 if (this->bat_[1] != nullptr) 343 343 return this->bat_[1]->getPlayer(); 344 344 else
Note: See TracChangeset
for help on using the changeset viewer.