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.

24 lines
440 B

1 year ago
#include "map_controller.h"
bool MapController::loadMap(long mapId) {
auto mapEntity = MapEntity::findById(mapId);
qDebug() << mapEntity.mapName;
// TODO 获取数据
// 分析模型
// 初始化
return false;
}
void MapController::route(const QString& key, const QString& message) {
qDebug() << key << ":" << message;
// TODO route to function
if(key == "loadMap"){
loadMap(1);
}
}