// person.h // definition of class Person #ifndef PERSON_H #define PERSON_H class Floor; // forward declaration class Elevator; // forward declaration class Person { public: Person( const int ); // constructor ~Person(); // destructor int getID() const; // returns person's ID void stepOntoFloor( Floor & ); void enterElevator( Elevator &, Floor & ); void exitElevator( const Floor &, Elevator & ) const; private: static int personCount; // total number of persons const int ID; // person's unique ID # const int destinationFloor; // destination floor # }; #endif // PERSON_H