{
public:
static const char* controlNames[];
-
+
enum Control {
LEFT = 0,
RIGHT,
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();