summaryrefslogtreecommitdiffhomepage
path: root/Generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'Generator.h')
-rw-r--r--Generator.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/Generator.h b/Generator.h
index de3812a..aeff98b 100644
--- a/Generator.h
+++ b/Generator.h
@@ -1,21 +1,10 @@
#pragma once
-#include <memory>
-#include <raylib.h>
-
-
-class Generator
+struct Generator
{
-public:
Generator();
virtual ~Generator() = default;
virtual void update(float dt) = 0;
- void toggle(bool enabled);
- void attach(std::shared_ptr<Vector2> origin);
- void detach();
- Vector2 position() const;
-protected:
bool m_enabled;
- std::shared_ptr<Vector2> m_origin;
};