summaryrefslogtreecommitdiff
path: root/src/floor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/floor.hpp')
-rw-r--r--src/floor.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/floor.hpp b/src/floor.hpp
new file mode 100644
index 0000000..6389dff
--- /dev/null
+++ b/src/floor.hpp
@@ -0,0 +1,15 @@
+#pragma once
+
+namespace silly::editor {
+ class Floor {
+ public:
+ Floor(int width, int height) : width(width), height(height) {}
+ ~Floor() = default;
+
+ const int get_width() const;
+ const int get_height() const;
+
+ private:
+ int width, height;
+ };
+} \ No newline at end of file