Changeset 9340 for code/branches/presentation2012merge/src/modules
- Timestamp:
- Aug 20, 2012, 4:46:52 PM (12 years ago)
- Location:
- code/branches/presentation2012merge/src/modules
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/src/modules/pong/Pong.cc
r9258 r9340 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/branches/presentation2012merge/src/modules/pong/Pong.h
r9258 r9340 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 /** -
code/branches/presentation2012merge/src/modules/tetris/Tetris.cc
r9330 r9340 26 26 * 27 27 * 28 *BUG c) destroying the old stones causes segfault -> WeakPointer as solution ?29 *BUG d) wrong collision detection: sometimes stones "bounce off"30 28 * 31 29 *
Note: See TracChangeset
for help on using the changeset viewer.