This commit is contained in:
2024-12-02 15:51:01 +01:00
parent 2341c2fa6d
commit 5ccb29f27b

View File

@@ -15,13 +15,13 @@ public:
void setSpeed(float speed);
bool isOutOfBounds() const;
virtual void update() = 0;
static sf::Texture texture;
protected:
~Projectile() = default;
static sf::Texture texture;
sf::Sprite sprite;
Position position{};
float speed;
bool outOfBounds;
~Projectile() = default;
};
#endif //PROJECTILE_H