17 #ifndef HEADER_SUPERTUX_BADGUY_BOUNCING_SNOWBALL_HPP 18 #define HEADER_SUPERTUX_BADGUY_BOUNCING_SNOWBALL_HPP 20 #include "badguy/badguy.hpp" 30 virtual std::string get_class()
const override {
return "bouncingsnowball"; }
31 virtual std::string get_display_name()
const override {
return _(
"Bouncing Snowball"); }
33 virtual void after_editor_set()
override;
virtual void collision_solid(const CollisionHit &hit) override
Called when the badguy collided with solid ground.
Definition: bouncing_snowball.cpp:47
Base class for moving sprites that can hurt the Player.
Definition: badguy.hpp:31
virtual bool collision_squished(GameObject &object) override
Called when the player hit the badguy from above.
Definition: bouncing_snowball.cpp:39
Base class for all the things that make up Levels' Sectors.
Definition: game_object.hpp:46
virtual void initialize() override
called immediately before the first call to initialize
Definition: bouncing_snowball.cpp:32
Definition: bouncing_snowball.hpp:22
Definition: reader_mapping.hpp:31
This class collects data about a collision.
Definition: collision_hit.hpp:44
virtual HitResponse collision_badguy(BadGuy &badguy, const CollisionHit &hit) override
Called when the badguy collided with another badguy.
Definition: bouncing_snowball.cpp:76