Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2008, 6:07:57 PM (17 years ago)
Author:
rgrieder
Message:
  • renamed:

GameState —> GameStateBase
GameStateTyped<T> —> GameState

  • moved command line parsing from GSRoot to RootGameState.
File:
1 edited

Legend:

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

    r1688 r1689  
    3535namespace orxonox
    3636{
    37     class _CoreExport RootGameState : public GameStateTyped<GameState>
     37    class _CoreExport RootGameState : public GameState<GameStateBase>
    3838    {
    3939    public:
     
    4242
    4343        void requestState(const std::string& name);
    44         void start();
     44        void start(int argc, char** argv);
    4545
    4646    private:
    47         void makeTransition(GameState* source, GameState* destination);
     47        void makeTransition(GameStateBase* source, GameStateBase* destination);
    4848        void gotoState(const std::string& name);
     49
     50        void parseCommandLine(int argc, char** argv);
    4951
    5052        std::string           stateRequest_;
Note: See TracChangeset for help on using the changeset viewer.