#ifndef fields_hpp #define fields_hpp #include #include class Field:public Shape{ public: double people; Field():people(0),Shape(){ setRetangle({{0,0,0},{0,0,0}}); } Field(pair pos){ setRetangle(pos); } }; #endif /* fields_hpp */