forked from mirror/openmw-tes3mp
30 lines
606 B
C++
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
|