You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
530 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#ifndef CSCI_MAP_CONTROLLER_H
#define CSCI_MAP_CONTROLLER_H
#include "../entity/map_entity.h"
#include "../include/controller/base_controller.h"
/// 仿真场景控制
class MapController: public BaseController<MapController> {
Q_OBJECT
public:
/**
* 加载地图场景
* @param int mapId 场景id
* @return 执行结果 成功bool失败false
*/
bool loadMap(long mapId);
public slots:
void route(const QString& key, const QString& message);
};
#endif //CSCI_MAP_CONTROLLER_H