summaryrefslogtreecommitdiff
path: root/src/editor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/editor.hpp')
-rw-r--r--src/editor.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/editor.hpp b/src/editor.hpp
index eba7f14..97af5b4 100644
--- a/src/editor.hpp
+++ b/src/editor.hpp
@@ -2,6 +2,7 @@
#include <SFML/Graphics/RenderWindow.hpp>
#include <SFML/Graphics/Texture.hpp>
+#include <memory>
#include <optional>
#include <string>
@@ -26,6 +27,8 @@ namespace silly::editor {
private:
Tileset &tileset;
TileFloor &floor;
+
+ std::optional<std::shared_ptr<TilesetTile>> selectedTile;
std::optional<NewTileState> newTileState;
};
} \ No newline at end of file