fix
This commit is contained in:
@@ -15,13 +15,13 @@ public:
|
|||||||
void setSpeed(float speed);
|
void setSpeed(float speed);
|
||||||
bool isOutOfBounds() const;
|
bool isOutOfBounds() const;
|
||||||
virtual void update() = 0;
|
virtual void update() = 0;
|
||||||
static sf::Texture texture;
|
|
||||||
protected:
|
protected:
|
||||||
~Projectile() = default;
|
static sf::Texture texture;
|
||||||
sf::Sprite sprite;
|
sf::Sprite sprite;
|
||||||
Position position{};
|
Position position{};
|
||||||
float speed;
|
float speed;
|
||||||
bool outOfBounds;
|
bool outOfBounds;
|
||||||
|
~Projectile() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //PROJECTILE_H
|
#endif //PROJECTILE_H
|
||||||
|
|||||||
Reference in New Issue
Block a user