17 #ifndef HEADER_SUPERTUX_SCRIPTING_FLOATING_IMAGE_HPP 18 #define HEADER_SUPERTUX_SCRIPTING_FLOATING_IMAGE_HPP 25 #include "scripting/game_object.hpp" 91 void fade_in(
float fadetime);
92 void fade_out(
float fadetime);
void set_layer(int layer)
Sets the layer of the floating image.
Definition: floating_image.cpp:32
WARNING: This file is automatically generated from: 'src/scripting/wrapper.interface.hpp' DO NOT CHANGE.
Definition: ambient_sound.cpp:21
float get_pos_y() const
Returns the image's Y coordinate relative to the current anchor point.
Definition: floating_image.cpp:60
Definition: game_object.hpp:60
int get_layer() const
Returns the layer the floating image is on.
Definition: floating_image.cpp:39
std::string get_action() const
Returns the action of the image This is only useful when the image is a sprite.
Definition: floating_image.cpp:102
void set_pos(float x, float y)
Sets the location of the image, in relation to the current anchor point.
Definition: floating_image.cpp:46
Definition: floating_image.hpp:24
void set_anchor_point(int anchor)
Sets the image's anchor point.
Definition: floating_image.cpp:67
int get_anchor_point() const
Returns the current anchor point.
Definition: floating_image.cpp:74
void set_action(const std::string &action)
Sets the action of the image This is only useful when the image is a sprite.
Definition: floating_image.cpp:95
Definition: floating_image.hpp:30
void set_visible(bool visible)
Sets the visibility of the floating image.
Definition: floating_image.cpp:88
float get_pos_x() const
Returns the image's X coordinate relative to the current anchor point.
Definition: floating_image.cpp:53
bool get_visible() const
Returns the visibility state of the floating image.
Definition: floating_image.cpp:81