]> git.localhorst.tv Git - space.git/blobdiff - src/app/Application.h
added autopilot that sucks
[space.git] / src / app / Application.h
index b5f0a6b607ff362b052be126771705cd1b53996a..4d2dd2dbf38f6545320d7e92cf7c85e4d40306f0 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef SPACE_APPLICATION_H_
 #define SPACE_APPLICATION_H_
 
+#include "../ai/Autopilot.h"
 #include "../graphics/Camera.h"
 #include "../graphics/Moveable.h"
 #include "../graphics/Vector.h"
@@ -12,7 +13,7 @@
 namespace space {
 
 class Canvas;
-class Entity;
+class Ship;
 
 class Application {
 
@@ -41,11 +42,15 @@ private:
        Moveable<float> focus;
        Camera cam;
 
-       Entity *controlled;
+       Ship *controlled;
        Vector<int> control;
 
+       Autopilot autopilot;
+       bool apEnabled;;
+
        Uint32 last;
        bool running;
+       bool paused;
 
 };