projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f2c5fb
)
Forgot file
author
Ryan Flegel
<rflegel@gmail.com>
Fri, 28 Apr 2006 15:08:25 +0000
(15:08 +0000)
committer
Ryan Flegel
<rflegel@gmail.com>
Fri, 28 Apr 2006 15:08:25 +0000
(15:08 +0000)
SVN-Revision: 3459
src/object/player.hpp
patch
|
blob
|
history
diff --git
a/src/object/player.hpp
b/src/object/player.hpp
index
4226f9e
..
f113104
100644
(file)
--- a/
src/object/player.hpp
+++ b/
src/object/player.hpp
@@
-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);