1 #ifndef __SCRIPTED_OBJECT_INTERFACE_H__
2 #define __SCRIPTED_OBJECT_INTERFACE_H__
11 virtual ~ScriptedObject()
15 virtual void set_action(const std::string& animation) = 0;
16 virtual std::string get_action() = 0;
18 virtual void move(float x, float y) = 0;
19 virtual void set_pos(float x, float y) = 0;
20 virtual float get_pos_x() = 0;
21 virtual float get_pos_y() = 0;
23 virtual void set_velocity(float x, float y) = 0;
24 virtual float get_velocity_x() = 0;
25 virtual float get_velocity_y() = 0;
27 virtual void set_visible(bool visible) = 0;
28 virtual bool is_visible() = 0;
30 virtual std::string get_name() = 0;