{
public:
static const char* controlNames[];
-
+
enum Control {
LEFT = 0,
RIGHT,
UP,
DOWN,
+
JUMP,
ACTION,
+
PAUSE_MENU,
MENU_SELECT,
+
CONSOLE,
-
+
+ PEEK_LEFT,
+ PEEK_RIGHT,
+
CONTROLCOUNT
};
bool hold(Control control);
/** returns true if the control has just been pressed down this frame */
bool pressed(Control control);
- /** returns true if the control has just been released this frame */
+ /** returns true if the control has just been released this frame */
bool released(Control control);
virtual void reset();