diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-01 17:41:55 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-01 17:41:55 +0100 |
| commit | 601c42ae7c7df2adbff931ff4ac30ba39499da69 (patch) | |
| tree | e7045157d63d7f730ffc78ac6e55639759aa02ce /editor/editor.cpp | |
| parent | a8bfe471a46659b3050db1d4ad174b8e6b5cc4de (diff) | |
editor gui stuff
Diffstat (limited to 'editor/editor.cpp')
| -rw-r--r-- | editor/editor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp index 011cdc18..bb1948cc 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -230,6 +230,11 @@ auto tile_editor::check_snap(int mods) const -> snap_mode } } +bool tile_editor::can_rotate() const +{ + return _mode == editor_mode::walls; +} + editor::editor() { } |
