diff options
| author | ilotterytea <iltsu@alright.party> | 2025-02-01 22:11:28 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-02-01 22:11:28 +0500 |
| commit | 860773932a67fa0a30c5943336bef6e0be0414a1 (patch) | |
| tree | bc3bc08027d4ace29587d414bbead409596f5afa /src/editor.hpp | |
| parent | c89db32c69c2ca3db059193591ec910d45fbbcc3 (diff) | |
feat: select a tile
Diffstat (limited to 'src/editor.hpp')
| -rw-r--r-- | src/editor.hpp | 3 |
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 |
