home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / PROGRAM / CPTUTS22.ZIP / MAP.H < prev    next >
C/C++ Source or Header  |  1992-01-20  |  451b  |  25 lines

  1. // This class handles the airport layout.  It defines which direc-
  2. //  tion you can go from each location and performs the actions
  3. //  requested by the player.
  4.  
  5. #ifndef MAP_H
  6. #define MAP_H
  7.  
  8. #include "location.h"
  9.  
  10. class map {
  11.  
  12.    location *present_location;
  13.    location *result;
  14.  
  15. public:
  16.  
  17.    void initialize(void);
  18.    void perform_action(void);
  19.    location *get_current_location(void) { return present_location; };
  20.  
  21. };
  22.  
  23. #endif
  24.  
  25.