Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 23, 2011, 6:22:47 PM (13 years ago)
Author:
dafrick
Message:

And even more documentation.
Also moved some of the documentation out of Groups.dox into seperate files located in the new groups folder.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tetris/src/modules/pong/Pong.cc

    r8104 r8106  
    3737#include "core/EventIncludes.h"
    3838#include "core/command/Executor.h"
     39
     40#include "gamestates/GSLevel.h"
    3941
    4042#include "PongCenterpoint.h"
     
    158160            this->ball_->setBats(this->bat_);
    159161        }
    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.
    161163        {
    162164            COUT(1) << "Error: No Centerpoint specified." << std::endl;
    163             // TODO: End the game?
     165            GSLevel::startMainMenu();
     166            return;
    164167        }
    165168
     
    210213        Spawns the input player.
    211214    @param player
    212         The player tp be spawned.
     215        The player to be spawned.
    213216    */
    214217    void Pong::spawnPlayer(PlayerInfo* player)
Note: See TracChangeset for help on using the changeset viewer.