17 #ifndef HEADER_SUPERTUX_BADGUY_CAPTAINSNOWBALL_HPP 18 #define HEADER_SUPERTUX_BADGUY_CAPTAINSNOWBALL_HPP 20 #include "badguy/walking_badguy.hpp" 30 virtual std::string get_class()
const override {
return "captainsnowball"; }
31 virtual std::string get_display_name()
const override {
return _(
"Captain snowball"); }
33 bool might_climb(
int width,
int height)
const;
Base class for Badguys that walk on the floor.
Definition: walking_badguy.hpp:25
Definition: captainsnowball.hpp:22
virtual void active_update(float dt_sec) override
called each frame when the badguy is activated.
Definition: captainsnowball.cpp:59
Base class for all the things that make up Levels' Sectors.
Definition: game_object.hpp:46
virtual bool collision_squished(GameObject &object) override
Called when the player hit the badguy from above.
Definition: captainsnowball.cpp:82
virtual void collision_solid(const CollisionHit &hit) override
Called when the badguy collided with solid ground.
Definition: captainsnowball.cpp:72
Definition: reader_mapping.hpp:31
This class collects data about a collision.
Definition: collision_hit.hpp:44