diff options
author | Aki <please@ignore.pl> | 2022-04-20 00:28:48 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-20 00:28:48 +0200 |
commit | fd9232b3d3a3aee28a5965a5ebc4077f8db7c652 (patch) | |
tree | e9bdb832ed15704f5640ffc9543131f02e6e6e32 /FallingAndOscillating.h | |
parent | 5f0c15b2d3299ea210a78d54e9b10c3cb4266139 (diff) | |
download | bullethell2022-fd9232b3d3a3aee28a5965a5ebc4077f8db7c652.zip bullethell2022-fd9232b3d3a3aee28a5965a5ebc4077f8db7c652.tar.gz bullethell2022-fd9232b3d3a3aee28a5965a5ebc4077f8db7c652.tar.bz2 |
Streamlined enemy composition
Diffstat (limited to 'FallingAndOscillating.h')
-rw-r--r-- | FallingAndOscillating.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/FallingAndOscillating.h b/FallingAndOscillating.h index 7a32c27..73fd602 100644 --- a/FallingAndOscillating.h +++ b/FallingAndOscillating.h @@ -1,5 +1,7 @@ #pragma once +#include <memory> + #include <raylib.h> #include "Falling.h" @@ -9,5 +11,6 @@ struct FallingAndOscillating : public Falling, Oscillating { - void update(float dt, Vector2& position, Generator& generator) override; + FallingAndOscillating(std::shared_ptr<Vector2> position, std::shared_ptr<Generator> generator); + void update(float dt) override; }; |