pmc/include/drawable.h
changeset 45 7197576fedcf
parent 43 cf8c1b5127b2
child 54 c064ce9f40f5
equal deleted inserted replaced
44:bb6586b1c547 45:7197576fedcf
     9 #include <surface.h>
     9 #include <surface.h>
    10 #include <vector.h>
    10 #include <vector.h>
    11 
    11 
    12 class Drawable:public Object {
    12 class Drawable:public Object {
    13   protected:
    13   protected:
    14     Vector anker;
    14     algebra::Vector anker;
    15     Surface *surface;
    15     Surface *surface;
    16 
    16 
    17   public:
    17   public:
    18     virtual ~ Drawable () {};
    18     virtual ~ Drawable () { };
    19     virtual void move (Vector) = 0;
    19     virtual void move (algebra::Vector) = 0;
    20     virtual void show () = 0;
    20     virtual void show () = 0;
    21 };
    21 };
    22 #endif
    22 #endif