pmc/include/drawable.h
author Emilio Largo <largo@largo.homelinux.org>
Thu, 16 Apr 2009 12:49:12 +0200
changeset 45 7197576fedcf
parent 43 cf8c1b5127b2
child 54 c064ce9f40f5
permissions -rw-r--r--
pmc: namespace algebra for vector -> the namespace prevents clashes with std::vector -> std::vector and algebra::Vector with capital V. md5: a md5 replacement ncurses: keypad function added 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.h>
#include <vector.h>

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

  public:
    virtual ~ Drawable () { };
    virtual void move (algebra::Vector) = 0;
    virtual void show () = 0;
};
#endif