From fd9232b3d3a3aee28a5965a5ebc4077f8db7c652 Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 20 Apr 2022 00:28:48 +0200 Subject: Streamlined enemy composition --- Generator.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'Generator.h') 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 -#include - - -class Generator +struct Generator { -public: Generator(); virtual ~Generator() = default; virtual void update(float dt) = 0; - void toggle(bool enabled); - void attach(std::shared_ptr origin); - void detach(); - Vector2 position() const; -protected: bool m_enabled; - std::shared_ptr m_origin; }; -- cgit v1.1