Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 19, 2009, 4:59:30 PM (15 years ago)
Author:
rgrieder
Message:

Added new class: Game
It represents basic operation related to the running game like start and stop or managing the new GameStates.
And since only three lines were left in Main.cc I thought I could move that to the very beginning of 'Game'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/src/core/RootGameState.h

    r2662 r2805  
    3737    class _CoreExport RootGameState : public GameState<GameStateBase>
    3838    {
     39        // Hack!
     40        friend class Game;
     41
    3942    public:
    4043        RootGameState(const std::string& name);
     
    4245
    4346        void requestState(const std::string& name);
    44         void start();
    4547
    4648    private:
Note: See TracChangeset for help on using the changeset viewer.