diff --git a/pmc/include/rectangle.h b/pmc/include/rectangle.h new file mode 100644 --- /dev/null +++ b/pmc/include/rectangle.h @@ -0,0 +1,24 @@ +/** + * test/demos/pmc/include/rectangle.h + * Copyright (C) 2008 Markus Broeker + */ + +#ifndef RECTANGLE_H +#define RECTANGLE_H + +#include +#include +#include + +class Rectangle:public Drawable { + private: + Vector * P[4]; + + public: + Rectangle (Surface *, Vector p1, Vector p2, Vector p3, Vector p4); + Rectangle (Surface *); + virtual ~ Rectangle (); + void move (Vector); + void show (); +}; +#endif