--- /dev/null
+#ifndef SPACE_AUTOPILOT_H_
+#define SPACE_AUTOPILOT_H_
+
+#include "../graphics/Vector.h"
+
+
+namespace space {
+
+class Camera;
+class Canvas;
+class Ship;
+
+class Autopilot {
+
+public:
+ Autopilot(Ship &ctrl, const Vector<float> &target);
+
+public:
+ void Update(float deltaT);
+
+ void Render(Canvas &, const Camera &) const;
+
+private:
+ Ship *ctrl;
+ const Vector<float> *target;
+
+ // cache members for debug drawing
+ Vector<float> planFrom;
+ Vector<float> planTo;
+
+};
+
+}
+
+#endif