home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 353_02 / map.h < prev    next >
C/C++ Source or Header  |  1992-01-19  |  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.