#ifndef APP_APPLICATION_H_
#define APP_APPLICATION_H_
+#include "Input.h"
#include "../sdl/InitScreen.h"
#include <stack>
void PushState(State *);
void PopState(void);
void Quit(void);
+ Input &Buttons() { return input; }
+ const Input &Buttons() const { return input; }
private:
State *CurrentState(void);
private:
sdl::InitScreen *screen;
std::stack<State *> states;
+ Input input;
Uint32 last;
};