summaryrefslogtreecommitdiffstats
path: root/KeyboardController.h
diff options
context:
space:
mode:
authormario <mario@notk.org>2011-11-30 03:46:41 +0100
committermario <mario@notk.org>2011-11-30 03:46:41 +0100
commit871745156d679f82f3be060af83dfd51a3416f09 (patch)
treec17729ebf4c28991e02029e46ecb6d122b77c152 /KeyboardController.h
parentf5c32b3b880deb0ff2eee7243e3f112469841e95 (diff)
~Doxygen-style commented. Not exactly doxygen but compatible and close enough.
Diffstat (limited to 'KeyboardController.h')
-rw-r--r--KeyboardController.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/KeyboardController.h b/KeyboardController.h
index 127a01e..bce2b16 100644
--- a/KeyboardController.h
+++ b/KeyboardController.h
@@ -21,6 +21,9 @@ typedef enum
class MainWindow;
+/**
+ * A class that links keybard inputs and player moves
+ **/
class KeyboardController :
public Controller
{
@@ -35,8 +38,17 @@ public:
virtual ~KeyboardController(void);
public:
+ /**
+ * Is called when a key is pressed
+ **/
void PressKey(KeyCode key);
+ /**
+ * Is called when a decision is required
+ **/
void think();
+ /**
+ * Resets the controller (does nothing here)
+ **/
void reset();
private: