pmc/include/rectangle.h
changeset 43 cf8c1b5127b2
parent 42 83b8151b966d
child 45 7197576fedcf
equal deleted inserted replaced
42:83b8151b966d 43:cf8c1b5127b2
    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 };