pmc/include/drawable.hpp
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 16 Apr 2009 12:49:13 +0200
changeset 65 76514757b0d6
permissions -rw-r--r--
GNU Indent cannot handle C++ Source Files... I like GNU indent. I like it so much that i use it for all my projects. But it doesn't work with C++ sources. To avoid further problems, all C++ Headers will be renamed from *.h to their *.hpp counterparts. mbroeker committer: Markus Bröker <mbroeker@largo.homelinux.org>

/**
 * test/demos/pmc/include/drawable.h
 * Copyright (C) 2008 Markus Broeker
 */

#ifndef DRAWABLE_H
#define DRAWABLE_H

#include <surface.hpp>
#include <vector.hpp>

class Drawable:public Object {
  protected:
    algebra::Vector anker;
    Surface *surface;

  public:
    virtual ~ Drawable () { };

    virtual void move (algebra::Vector) = 0;
    virtual void show () = 0;
};
#endif