diff options
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; }; |