equal
deleted
inserted
replaced
13 class Rectangle:public Drawable { |
13 class Rectangle:public Drawable { |
14 private: |
14 private: |
15 Vector * P[4]; |
15 Vector * P[4]; |
16 |
16 |
17 public: |
17 public: |
18 Rectangle (Surface *, Vector p1, Vector p2, Vector p3, Vector p4); |
18 Rectangle (Surface *, Vector& p1, Vector& p2, Vector& p3, Vector& p4); |
19 Rectangle (Surface *); |
19 Rectangle (Surface *); |
20 virtual ~ Rectangle (); |
20 virtual ~ Rectangle (); |
21 void move (Vector); |
21 void move (Vector); |
22 void show (); |
22 void show (); |
23 }; |
23 }; |