src/Graphics/Drawable.hh
author Tero Marttila <terom@fixme.fi>
Wed, 21 Jan 2009 23:07:22 +0200
branchnew_graphics
changeset 412 721c60072091
parent 411 106aaf6eadfe
child 423 947ab54de4b7
permissions -rw-r--r--
new graphics code compiles... no, it doesn't work yet
#ifndef GRAPHICS_DRAWABLE_HH
#define GRAPHICS_DRAWABLE_HH

namespace graphics
{

class Drawable;

}

#include "Display.hh"

namespace graphics
{

/**
 * Abstract interface class to define something that's drawable
 */
class Drawable {
public:
    /**
     * Draw graphics onto the given display
     */
    virtual void draw (Display &display) = 0;
};

}


#endif