1 #ifndef GAME_MWSTATE_STATEMANAGER_H
2 #define GAME_MWSTATE_STATEMANAGER_H
51 virtual void newGame (
bool bypass =
false) = 0;
65 virtual void loadGame (
const std::string& filepath) = 0;
75 virtual void quickSave(std::string =
"Quicksave")=0;
90 virtual void update (
float duration) = 0;
virtual void askLoadRecent()=0
Definition: character.hpp:19
virtual MWState::Character * getCurrentCharacter()=0
std::list< MWState::Character >::const_iterator CharacterIterator
Definition: statemanager.hpp:27
virtual bool hasQuitRequest() const =0
Definition: statemanager.hpp:22
virtual void deleteGame(const MWState::Character *character, const MWState::Slot *slot)=0
StateManager & operator=(const StateManager &)
not implemented
virtual void requestQuit()=0
virtual void loadGame(const std::string &filepath)=0
Definition: statemanager.hpp:23
virtual void quickLoad()=0
Simple loader, loads the last saved file.
StateManager()
Definition: statemanager.hpp:39
Interface for game state manager (implemented in MWState)
Definition: statemanager.hpp:16
State
Definition: statemanager.hpp:20
virtual void update(float duration)=0
Definition: statemanager.hpp:24
virtual CharacterIterator characterEnd()=0
virtual void quickSave(std::string="Quicksave")=0
Simple saver, writes over the file if already existing.
virtual ~StateManager()
Definition: statemanager.hpp:41
virtual CharacterIterator characterBegin()=0
virtual void newGame(bool bypass=false)=0
virtual State getState() const =0
virtual void saveGame(const std::string &description, const MWState::Slot *slot=0)=0
Definition: character.hpp:10