Forgot file
authorRyan Flegel <rflegel@gmail.com>
Fri, 28 Apr 2006 15:08:25 +0000 (15:08 +0000)
committerRyan Flegel <rflegel@gmail.com>
Fri, 28 Apr 2006 15:08:25 +0000 (15:08 +0000)
SVN-Revision: 3459

src/object/player.hpp

index 4226f9e..f113104 100644 (file)
@@ -126,7 +126,11 @@ public:
   virtual void expose(HSQUIRRELVM vm, int table_idx);
   virtual void unexpose(HSQUIRRELVM vm, int table_idx);
 
-  void set_controller(Controller* controller);  
+  void set_controller(Controller* controller);
+  Controller* get_controller()
+  {
+    return controller;
+  }
 
   virtual void update(float elapsed_time);
   virtual void draw(DrawingContext& context);