src/Rope.hh
branchnew_graphics
changeset 412 721c60072091
parent 328 51d644c8d5a2
child 417 c503e0c6a740
equal deleted inserted replaced
411:106aaf6eadfe 412:721c60072091
     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