Changeset 9348 for code/trunk/src/modules/pong
- Timestamp:
- Aug 30, 2012, 11:08:17 PM (12 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 .project 1 2 build 2 3 codeblocks 4 dependencies 3 5 vs 4 dependencies
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
code/trunk/src/modules/pong/Pong.cc
r9258 r9348 256 256 Is called when the player scored. 257 257 */ 258 void Pong::playerScored(PlayerInfo* player )259 { 260 Deathmatch::playerScored(player );258 void Pong::playerScored(PlayerInfo* player, int score) 259 { 260 Deathmatch::playerScored(player, score); 261 261 262 262 if (this->center_ != NULL) // If there is a centerpoint. -
code/trunk/src/modules/pong/Pong.h
r9258 r9348 73 73 virtual void spawnPlayer(PlayerInfo* player); //!< Spawns the input player. 74 74 75 virtual void playerScored(PlayerInfo* player ); //!< Is called when the player scored.75 virtual void playerScored(PlayerInfo* player, int score = 1); //!< Is called when the player scored. 76 76 77 77 /**
Note: See TracChangeset
for help on using the changeset viewer.