--- a/pmc/include/rectangle.h
+++ b/pmc/include/rectangle.h
@@ -12,13 +12,14 @@
class Rectangle:public Drawable {
private:
- Vector * P[4];
+ algebra::Vector * P[4];
public:
- Rectangle (Surface *, Vector& p1, Vector& p2, Vector& p3, Vector& p4);
+ Rectangle (Surface *, algebra::Vector & p1, algebra::Vector & p2, algebra::Vector & p3, algebra::Vector & p4);
+ Rectangle (Surface *, algebra::Vector[4]);
Rectangle (Surface *);
virtual ~ Rectangle ();
- void move (Vector);
+ void move (algebra::Vector);
void show ();
};
#endif