summaryrefslogtreecommitdiffhomepage
path: root/Generator.h
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-04-20 00:28:48 +0200
committerAki <please@ignore.pl>2022-04-20 00:28:48 +0200
commitfd9232b3d3a3aee28a5965a5ebc4077f8db7c652 (patch)
treee9bdb832ed15704f5640ffc9543131f02e6e6e32 /Generator.h
parent5f0c15b2d3299ea210a78d54e9b10c3cb4266139 (diff)
downloadbullethell2022-fd9232b3d3a3aee28a5965a5ebc4077f8db7c652.zip
bullethell2022-fd9232b3d3a3aee28a5965a5ebc4077f8db7c652.tar.gz
bullethell2022-fd9232b3d3a3aee28a5965a5ebc4077f8db7c652.tar.bz2
Streamlined enemy composition
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;
};