17 #ifndef HEADER_SUPERTUX_SCRIPTING_SCRIPTED_OBJECT_HPP 18 #define HEADER_SUPERTUX_SCRIPTING_SCRIPTED_OBJECT_HPP 22 #include "scripting/game_object.hpp" 36 using GameObject::GameObject;
44 void set_action(
const std::string& animation);
45 std::string get_action()
const;
47 void move(
float x,
float y);
48 void set_pos(
float x,
float y);
49 float get_pos_x()
const;
50 float get_pos_y()
const;
52 void set_velocity(
float x,
float y);
53 float get_velocity_x()
const;
54 float get_velocity_y()
const;
56 void enable_gravity(
bool f);
57 bool gravity_enabled()
const;
59 void set_visible(
bool visible);
60 bool is_visible()
const;
62 void set_solid(
bool solid);
63 bool is_solid()
const;
65 std::string get_name()
const;
WARNING: This file is automatically generated from: 'src/scripting/wrapper.interface.hpp' DO NOT CHANGE.
Definition: ambient_sound.cpp:21
Definition: scripted_object.hpp:29
Definition: game_object.hpp:60
Definition: scripted_object.hpp:25