载入中...
搜索中...
未找到
OutputSpec.cpp
浏览该文件的文档.
2
3#include "map/TileLayer.h"
4
5namespace eve::procgen {
6
7void OutputSpec::setTarget(const std::string &target) { target_ = target; }
8std::string OutputSpec::getTarget() const { return target_; }
9
11map::TileLayer *OutputSpec::getLayer() const { return layer_; }
12
13void OutputSpec::setPalette(const std::string &paletteName) { palette_ = paletteName; }
14std::string OutputSpec::getPalette() const { return palette_; }
15
16void OutputSpec::setPath(const std::string &path) { path_ = path; }
17std::string OutputSpec::getPath() const { return path_; }
18
19} // namespace eve::procgen
LogicalId target
TileLayer * layer
std::string path
Definition PlayHost.cpp:110
ECS tile layer entity. Script mutates tile GIDs / tileset / draw; TileRenderSystem batch-draws atlas ...
Definition TileLayer.h:32
void setLayer(map::TileLayer *layer)
Sets the layer.
std::string getPath() const
Returns the path.
map::TileLayer * getLayer() const
Returns the layer.
void setTarget(const std::string &target)
Sets the target.
Definition OutputSpec.cpp:7
void setPalette(const std::string &paletteName)
Sets the palette.
std::string getTarget() const
Returns the target.
Definition OutputSpec.cpp:8
void setPath(const std::string &path)
Sets the path.
std::string getPalette() const
Returns the palette.