equal
deleted
inserted
replaced
5 // and the Player wants to know the rope. |
5 // and the Player wants to know the rope. |
6 class Rope; |
6 class Rope; |
7 |
7 |
8 #include "Player.hh" |
8 #include "Player.hh" |
9 #include "PhysicsObject.hh" |
9 #include "PhysicsObject.hh" |
10 #include "GraphicsPointer.hh" |
10 |
|
11 #include "Graphics/Drawable.hh" |
11 |
12 |
12 /** |
13 /** |
13 * The rope can be in one of three states... |
14 * The rope can be in one of three states... |
14 * |
15 * |
15 * @see Rope |
16 * @see Rope |
82 void updateLength (float length); |
83 void updateLength (float length); |
83 |
84 |
84 virtual void tick (TimeMS dt); |
85 virtual void tick (TimeMS dt); |
85 |
86 |
86 /* |
87 /* |
87 * Just draws it |
88 * Draw the rope, in the FLYING/FIXED state |
88 */ |
89 */ |
89 virtual void draw (Graphics *c, PixelCoordinate camera); |
90 virtual void draw (graphics::Display &display, PixelCoordinate camera); |
90 }; |
91 }; |
91 |
92 |
92 #endif |
93 #endif |