17 #ifndef HEADER_SUPERTUX_BADGUY_FISH_HARMLESS_HPP 18 #define HEADER_SUPERTUX_BADGUY_FISH_HARMLESS_HPP 20 #include "badguy/fish_swimming.hpp" 28 static std::string class_name() {
return "fish-harmless"; }
29 virtual std::string get_class_name()
const override {
return class_name(); }
30 static std::string display_name() {
return _(
"Harmless Fish"); }
33 virtual std::string get_overlay_size()
const override {
return "1x1"; }
35 GameObjectTypes
get_types()
const override {
return {}; }
virtual GameObjectClasses get_class_types() const override
List notable classes in inheritance hierarchy of class.
Definition: fish_harmless.hpp:32
virtual GameObjectClasses get_class_types() const override
List notable classes in inheritance hierarchy of class.
Definition: fish_swimming.hpp:43
virtual std::string get_display_name() const override
Returns the display name of the object, translated to the user's locale.
Definition: fish_harmless.hpp:31
Fish, which doesn't harm the player.
Definition: fish_harmless.hpp:23
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: fish_swimming.hpp:23
virtual void initialize() override
called immediately before the first call to initialize
Definition: fish_harmless.cpp:26
Definition: reader_mapping.hpp:32
GameObjectTypes get_types() const override
Get all types of the object, if available.
Definition: fish_harmless.hpp:35