summaryrefslogtreecommitdiffhomepage
path: root/Generator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Generator.cpp')
-rw-r--r--Generator.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/Generator.cpp b/Generator.cpp
index 32ad608..448872d 100644
--- a/Generator.cpp
+++ b/Generator.cpp
@@ -6,6 +6,20 @@
#include <raylib.h>
+Generator::Generator() :
+ m_enabled {true},
+ m_origin {}
+{
+}
+
+
+void
+Generator::toggle(const bool enabled)
+{
+ m_enabled = enabled;
+}
+
+
void
Generator::attach(std::shared_ptr<Vector2> origin)
{