summaryrefslogtreecommitdiff
path: root/src/controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.h')
-rw-r--r--src/controller.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/controller.h b/src/controller.h
index 43d1d3f4..7a76d33d 100644
--- a/src/controller.h
+++ b/src/controller.h
@@ -28,23 +28,13 @@
/**
* A controller can take control of a being.
*/
-class Controller
+class Controlled: public Being
{
public:
/**
* Constructor.
*/
- Controller();
-
- /**
- * Take possession of the given being.
- */
- void possess(BeingPtr being);
-
- /**
- * Releave possession of any being.
- */
- void unPossess();
+ Controlled(int type): Being(type, 65535), mCountDown(0) {}
/**
* Performs one step of controller logic.
@@ -52,8 +42,6 @@ class Controller
void update();
private:
- BeingPtr mBeing;
-
/** Count down till next random movement (temporary). */
unsigned int mCountDown;
};