17 #ifndef HEADER_SUPERTUX_BADGUY_SNOWMAN_HPP 18 #define HEADER_SUPERTUX_BADGUY_SNOWMAN_HPP 20 #include "badguy/walking_badguy.hpp" 27 static std::string class_name() {
return "snowman"; }
28 virtual std::string get_class_name()
const override {
return class_name(); }
29 static std::string display_name() {
return _(
"Snowman"); }
virtual GameObjectClasses get_class_types() const override
List notable classes in inheritance hierarchy of class.
Definition: snowman.hpp:31
Definition: bullet.hpp:29
virtual GameObjectClasses get_class_types() const override
List notable classes in inheritance hierarchy of class.
Definition: walking_badguy.hpp:55
virtual std::string get_display_name() const override
Returns the display name of the object, translated to the user's locale.
Definition: snowman.hpp:30
virtual HitResponse collision_bullet(Bullet &bullet, const CollisionHit &hit) override
Called when the badguy collided with a bullet.
Definition: snowman.cpp:55
Base class for Badguys that walk on the floor.
Definition: walking_badguy.hpp:25
virtual bool collision_squished(GameObject &object) override
Called when the player hit the badguy from above.
Definition: snowman.cpp:82
This class is responsible for: Updating and drawing the object.
Definition: game_object.hpp:83
Definition: snowman.hpp:22
A helper structure to list all the type_indexes of the classes in the type hierarchy of a given class...
Definition: game_object.hpp:57
Definition: reader_mapping.hpp:32
This class collects data about a collision.
Definition: collision_hit.hpp:44