+
+ const Vector& get_speed() const
+ {
+ return speed;
+ }
+
+ /**
+ * @name Scriptable Methods
+ * @{
+ */
+
+ /** Move platform until at given node, then stop */
+ void goto_node(int node_no);
+
+ /** Start moving platform */
+ void start_moving();
+
+ /** Stop platform at next node */
+ void stop_moving();
+
+ /**
+ * @}
+ */
+
+ virtual void expose(HSQUIRRELVM vm, SQInteger table_idx);
+ virtual void unexpose(HSQUIRRELVM vm, SQInteger table_idx);
+
+ Path& get_path() {
+ return *path.get();
+ }