pmc/include/drawable.hpp
changeset 65 76514757b0d6
equal deleted inserted replaced
64:993b97c4ad2d 65:76514757b0d6
       
     1 /**
       
     2  * test/demos/pmc/include/drawable.h
       
     3  * Copyright (C) 2008 Markus Broeker
       
     4  */
       
     5 
       
     6 #ifndef DRAWABLE_H
       
     7 #define DRAWABLE_H
       
     8 
       
     9 #include <surface.hpp>
       
    10 #include <vector.hpp>
       
    11 
       
    12 class Drawable:public Object {
       
    13   protected:
       
    14     algebra::Vector anker;
       
    15     Surface *surface;
       
    16 
       
    17   public:
       
    18     virtual ~ Drawable () { };
       
    19 
       
    20     virtual void move (algebra::Vector) = 0;
       
    21     virtual void show () = 0;
       
    22 };
       
    23 #endif