src/Graphics/Drawable.hh
author Tero Marttila <terom@fixme.fi>
Wed, 21 Jan 2009 23:25:29 +0200
branchnew_graphics
changeset 413 7dddc163489a
parent 412 721c60072091
child 423 947ab54de4b7
permissions -rw-r--r--
drawing the GameView works
#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