Lab 8  Version 8
This is an array of shapes
 All Classes Functions
Shape.h
1 #ifndef SHAPE_H
2 #define SHAPE_H
3 
4 #include <string>
5 
6 using std::string;
7 
11 class Shape
12 {
13 private:
14  int numberOfSides; //this is how many sides this shape has
15  string color; //this is the color of our shape
16 public:
20  Shape();
21 
26  void setNumberOfSides( int newNumberOfSides );
31  void setColor( string newColor );
32 
37  int getNumberOfSides() const;
42  string getColor() const;
43 
44 };
45 
46 #endif