17 #ifndef HEADER_SUPERTUX_BADGUY_ICEFLAME_HPP 18 #define HEADER_SUPERTUX_BADGUY_ICEFLAME_HPP 20 #include "badguy/flame.hpp" 29 virtual void ignite()
override;
31 virtual bool is_freezable()
const override;
32 virtual std::string get_class()
const override {
return "iceflame"; }
33 virtual std::string get_display_name()
const override {
return _(
"Ice flame"); }
Definition: iceflame.hpp:22
virtual void active_update(float dt_sec) override
called each frame when the badguy is activated.
Definition: iceflame.cpp:37
virtual bool is_flammable() const override
Returns whether to call ignite() when a badguy gets hit by a fire bullet.
Definition: iceflame.cpp:60
virtual void ignite() override
Called when hit by a fire bullet, and is_flammable() returns true.
Definition: iceflame.cpp:44
Definition: reader_mapping.hpp:31