// floorButton.h // Definition for class FloorButton. #ifndef FLOORBUTTON_H #define FLOORBUTTON_H #include "button.h" class Elevator; // forward declaration class FloorButton : public Button { public: FloorButton( const int, Elevator & ); // constructor ~FloorButton(); // destructor void pressButton(); // press the button private: const int floorNumber; // number of the button's floor }; #endif // FLOORBUTTON_H