Changeset 8106 for code/branches/tetris/src/modules/pong/Pong.cc
- Timestamp:
- Mar 23, 2011, 6:22:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tetris/src/modules/pong/Pong.cc
r8104 r8106 37 37 #include "core/EventIncludes.h" 38 38 #include "core/command/Executor.h" 39 40 #include "gamestates/GSLevel.h" 39 41 40 42 #include "PongCenterpoint.h" … … 158 160 this->ball_->setBats(this->bat_); 159 161 } 160 else // If no centerpoint was specified, an error is thrown .162 else // If no centerpoint was specified, an error is thrown and the level is exited. 161 163 { 162 164 COUT(1) << "Error: No Centerpoint specified." << std::endl; 163 // TODO: End the game? 165 GSLevel::startMainMenu(); 166 return; 164 167 } 165 168 … … 210 213 Spawns the input player. 211 214 @param player 212 The player t pbe spawned.215 The player to be spawned. 213 216 */ 214 217 void Pong::spawnPlayer(PlayerInfo* player)
Note: See TracChangeset
for help on using the changeset viewer.