25 lines
391 B
C++
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
|