summaryrefslogtreecommitdiff
path: root/src/level.hpp
diff options
context:
space:
mode:
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;