1 #ifndef __SCRIPTED_OBJECT_H__
2 #define __SCRIPTED_OBJECT_H__
12 virtual ~ScriptedObject();
15 virtual void set_animation(const std::string& animation) = 0;
16 virtual std::string get_animation() = 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;
22 virtual void set_velocity(float x, float y) = 0;
23 virtual float get_velocity_x() = 0;
24 virtual float get_velocity_y() = 0;