Changeset 10624 for code/trunk/src/modules/pong/PongCenterpoint.cc
- Timestamp:
- Oct 4, 2015, 9:12:21 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
-
code/trunk/src/modules/pong/PongCenterpoint.cc
r9667 r10624 80 80 /** 81 81 @brief 82 Is called when the gametype has changed.83 */84 void PongCenterpoint::changedGametype()85 {86 SUPER(PongCenterpoint, changedGametype);87 88 // Check, whether it's still Pong.89 this->checkGametype();90 }91 92 /**93 @brief94 82 Checks whether the gametype is Pong and if it is, sets its centerpoint. 95 83 */ … … 98 86 if (this->getGametype() != NULL && this->getGametype()->isA(Class(Pong))) 99 87 { 100 Pong* pongGametype = orxonox_cast<Pong*>(this->getGametype() .get());88 Pong* pongGametype = orxonox_cast<Pong*>(this->getGametype()); 101 89 pongGametype->setCenterpoint(this); 102 90 }
Note: See TracChangeset
for help on using the changeset viewer.