120 surface * target = NULL)
const = 0;
void set_length(u_int16 l)
Sets the length of the drawable.
u_int16 length() const
Returns the length of the drawable.
#define u_int16
16 bits long unsigned integer
void set_height(u_int16 h)
Sets the height of the drawable.
Class where drawables can actually be drawn to.
virtual bool input_update()
Virtual input update function, provided for objects which doesn't need one.
drawable()
Default constructor.
virtual void draw(s_int16 x, s_int16 y, const drawing_area *da_opt=NULL, surface *target=NULL) const =0
Draw the object on the screen.
Implements "drawing zones" for drawing operations.
u_int16 height() const
Returns the height of the drawable.
#define s_int16
16 bits long signed integer
virtual bool update()
Virtual update function, provided for objects which doesn't need one.
Abstract class for drawable objects manipulation.
Declares the drawing_area class.
virtual ~drawable()
Destructor.