This repository has been archived on 2025-06-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
LotoStatek/headers/Debuff.h
Andrii Solianyk 67f396ae84 Zaimplementowano debuff.
Do dokończenia resetowanie debuff
2025-01-13 15:55:45 +01:00

25 lines
391 B
C++

#ifndef DEBUFF_H
#define DEBUFF_H
#include "ObjectItem.hpp"
class Debuff : public ObjectItem {
public:
enum Type {
movingSpeedDbf,
firerateDbf,
bulletSpeedDbf
};
Debuff(float x, float y, sf::Texture &texture, Type type);
void update() override;
Type getType() const {
return type_;
}
private:
Type type_;
};
#endif //DEBUFF_H