Changeset 9090 for code/branches/pCuts/src/modules/pong
- Timestamp:
- Apr 16, 2012, 10:29:49 PM (13 years ago)
- Location:
- code/branches/pCuts/src/modules/pong
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pCuts/src/modules/pong/Pong.cc
r9081 r9090 76 76 // Set the type of Bots for this particular Gametype. 77 77 this->botclass_ = Class(PongBot); 78 79 78 this->scoreLimit_ = 10; 79 this->setConfigValues(); 80 80 } 81 81 -
code/branches/pCuts/src/modules/pong/Pong.h
r9016 r9090 83 83 void setConfigValues(); //!< Makes scoreLimit configurable. 84 84 85 85 PlayerInfo* getLeftPlayer() const; //!< Get the left player. 86 86 PlayerInfo* getRightPlayer() const; //!< Get the right player. 87 87 … … 95 95 WeakPtr<PongBall> ball_; //!< The Pong ball. 96 96 WeakPtr<PongBat> bat_[2]; //!< The two bats. 97 97 Timer starttimer_; //!< A timer to delay the start of the game. 98 98 int scoreLimit_; //!< If a player scored that much points, the game is ended. 99 99 }; -
code/branches/pCuts/src/modules/pong/PongScore.cc
r9016 r9090 61 61 this->bShowRightPlayer_ = false; 62 62 this->player1_ = NULL; 63 63 this->player2_ = NULL; 64 64 } 65 65
Note: See TracChangeset
for help on using the changeset viewer.