map.h

来自「Since the field of object oriented progr」· C头文件 代码 · 共 24 行

H
24
字号
// This class handles the airport layout.  It defines which direc-
//  tion you can go from each location and performs the actions
//  requested by the player.

#ifndef MAP_H
#define MAP_H

#include "location.h"

class map 
{
   location *present_location;
   location *result;

public:

   void initialize(void);
   void perform_action(void);
   location *get_current_location(void) { return present_location; };
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?