summaryrefslogtreecommitdiff
path: root/src/level.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-02-02 22:41:32 +0500
committerilotterytea <iltsu@alright.party>2025-02-02 22:41:32 +0500
commitf27bf2dfa4975c7366013bb2f729a9823105361c (patch)
tree47938d971e1bebb36765fdd44ed37680147e87b9 /src/level.hpp
parent4466b394cbdd584d70f83024852a710a6460212e (diff)
feat: export package
Diffstat (limited to 'src/level.hpp')
-rw-r--r--src/level.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/level.hpp b/src/level.hpp
index 711a884..a0bcb23 100644
--- a/src/level.hpp
+++ b/src/level.hpp
@@ -39,6 +39,8 @@ namespace silly::editor {
const int get_width() const;
const int get_height() const;
const int get_tile_count() const;
+ const std::vector<TileLayer> &get_layers() const;
+ std::string export_to_string() const;
private:
int width, height;
@@ -60,6 +62,8 @@ namespace silly::editor {
const std::string &get_name() const;
+ std::string export_to_string() const;
+
private:
const std::string name;