equal
deleted
inserted
replaced
10 #include <vector.h> |
10 #include <vector.h> |
11 #include <drawable.h> |
11 #include <drawable.h> |
12 |
12 |
13 class Rectangle:public Drawable { |
13 class Rectangle:public Drawable { |
14 private: |
14 private: |
15 Vector * P[4]; |
15 algebra::Vector * P[4]; |
16 |
16 |
17 public: |
17 public: |
18 Rectangle (Surface *, Vector& p1, Vector& p2, Vector& p3, Vector& p4); |
18 Rectangle (Surface *, algebra::Vector & p1, algebra::Vector & p2, algebra::Vector & p3, algebra::Vector & p4); |
|
19 Rectangle (Surface *, algebra::Vector[4]); |
19 Rectangle (Surface *); |
20 Rectangle (Surface *); |
20 virtual ~ Rectangle (); |
21 virtual ~ Rectangle (); |
21 void move (Vector); |
22 void move (algebra::Vector); |
22 void show (); |
23 void show (); |
23 }; |
24 }; |
24 #endif |
25 #endif |