openmw-tes3coop/apps/openmw/mwstate/statemanagerimp.hpp
2013-11-18 15:15:47 +01:00

30 lines
606 B
C++

#ifndef GAME_STATE_STATEMANAGER_H
#define GAME_STATE_STATEMANAGER_H
#include "../mwbase/statemanager.hpp"
namespace MWState
{
class StateManager : public MWBase::StateManager
{
bool mQuitRequest;
State mState;
public:
StateManager();
virtual void requestQuit();
virtual bool hasQuitRequest() const;
virtual State getState() const;
virtual void newGame (bool bypass = false);
///< Start a new game.
///
/// \param bypass Skip new game mechanics.
};
}
#endif