22 : map_file_path_(map_file_path) {
24 if (
const bool is_exist = std::filesystem::exists(map_file_path_);
26 std::string error_mes = std::format(
27 "map fileが存在しません.ファイルのパスは{}です.({}のコンストラクタ)",
39 if (
const auto result = map_file_importer.ImportMap(map_file_path_);
42 return result.value();
void UpdateMap(MapState *current_map) const override
マップの更新を行う.
MapState InitMap() const override
マップの初期化を行う.
MapCreatorByCsv(const std::string &map_file_path)
コンストラクタで作成するマップ情報を与える
マップを csv に出力したものを読み込むクラス.
void ErrorOutput(const std::string &str)
コマンドラインに文字を出力する関数. Error 用の出力.
void InfoOutput(const std::string &str)
コマンドラインに文字を出力する関数. Info 用の出力.
void Output(const std::string &str, OutputDetail detail)
コマンドラインに文字を出力する関数. SetOutputLimit 関数で設定した出力の許可範囲内であれば出力される.
std::string GetTypeName(const T &type)