summaryrefslogtreecommitdiffhomepage
path: root/editor/tile-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/tile-editor.cpp')
-rw-r--r--editor/tile-editor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/tile-editor.cpp b/editor/tile-editor.cpp
index 66ca1e7b..965245a9 100644
--- a/editor/tile-editor.cpp
+++ b/editor/tile-editor.cpp
@@ -6,6 +6,7 @@
#include "random.hpp"
#include "serialize/json-helper.hpp"
#include "serialize/tile-atlas.hpp"
+#include <Corrade/Containers/StringStl.h>
namespace floormat {
@@ -50,6 +51,8 @@ std::shared_ptr<tile_atlas> tile_editor::atlas(StringView str)
fm_abort("no such atlas: %s", str.cbegin());
}
+StringView tile_editor::name() const noexcept { return _name; }
+
void tile_editor::clear_selection()
{
_selected_tile = {};