+ void PopState();
+ void Quit();
+ Input &Buttons() { return input; }
+ const Input &Buttons() const { return input; }
+ Timers<Uint32> &GlobalTimers() { return globalTimers; }
+
+private:
+ struct StateCommand {
+ enum Type {
+ PUSH, POP, CHANGE
+ } type;
+ State *state;
+ };