spoonedit/Tools/MapTools/include/Map.h

35 lines
555 B
C
Raw Normal View History

2023-07-02 22:21:26 +02:00
//
// Created by tv on 30.04.23.
//
#ifndef SPOONTOOL_MAP_H
#define SPOONTOOL_MAP_H
#include<boost/filesystem.hpp>
#include<LevelObject.h>
#include<Rail.h>
struct Map {
//STREEFUNCS
Map();
void Save(boost::filesystem::path FileLocation);
boost::filesystem::path ActiveLocation = "";
void Export(boost::filesystem::path YamlOut);
std::vector<LevelObject> Objects;
std::vector<Rail> Rails;
Element* GetElementById(std::string id);
2023-07-02 22:21:26 +02:00
};
Map ConvertFromYaml(boost::filesystem::path File);
#endif //SPOONTOOL_MAP_H