summaryrefslogtreecommitdiff
path: root/src/level.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-02-02 03:59:39 +0500
committerilotterytea <iltsu@alright.party>2025-02-02 03:59:39 +0500
commit5f8caec1e2762568e8e3845f13e980dce8cf13f1 (patch)
tree667469539cca73c99362611075d7020b1d2b6e99 /src/level.hpp
parentd8d3cfb04e7801ca726fead4eeb34365b4e20082 (diff)
feat: show what level and floor is selected
Diffstat (limited to 'src/level.hpp')
-rw-r--r--src/level.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/level.hpp b/src/level.hpp
index c5eb1ea..5fbb19b 100644
--- a/src/level.hpp
+++ b/src/level.hpp
@@ -38,6 +38,7 @@ namespace silly::editor {
const int get_width() const;
const int get_height() const;
+ const int get_tile_count() const;
private:
int width, height;
@@ -54,6 +55,7 @@ namespace silly::editor {
void move_to_floor(int floor_id);
TileFloor &get_current_floor();
+ const int &get_current_floor_index() const;
const std::vector<TileFloor> &get_floors() const;
const std::string &get_name() const;