/*
 * Rectangle.h
 *
 *  Created on: Jan 26, 2015
 *      Author: cpresser
 */

#ifndef RECTANGLE_H_
#define RECTANGLE_H_

#include "Shape.h"

//Rectangle class extends the Shape class
class Rectangle: public Shape {
public:
        //Constructor
        Rectangle(int x, int y, int w, int h);

        //Destructor
        virtual ~Rectangle();

        //override getArea method
        virtual double getArea();

        //Getters and Setters
        int getHeight() const;
        void setHeight(int height);
        int getWidth() const;
        void setWidth(int width);

protected:
        //Instance variables
        int m_width;
        int m_height;
};

#endif /* RECTANGLE_H_ */