X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FApplication.h;h=17fdce8c84b77f7074477563dd67bf9eef203e8d;hb=501ffe20da16eaab69e668871001f735697c4a42;hp=b5f0a6b607ff362b052be126771705cd1b53996a;hpb=61c2d30a60d586cbe63885885c6a373c7713af1e;p=space.git diff --git a/src/app/Application.h b/src/app/Application.h index b5f0a6b..17fdce8 100644 --- a/src/app/Application.h +++ b/src/app/Application.h @@ -1,9 +1,11 @@ #ifndef SPACE_APPLICATION_H_ #define SPACE_APPLICATION_H_ +#include "../ai/Autopilot.h" #include "../graphics/Camera.h" #include "../graphics/Moveable.h" #include "../graphics/Vector.h" +#include "../ui/DualGauge.h" #include "../world/Universe.h" #include @@ -12,7 +14,7 @@ namespace space { class Canvas; -class Entity; +class Ship; class Application { @@ -41,11 +43,18 @@ private: Moveable focus; Camera cam; - Entity *controlled; + Ship *controlled; Vector control; + DualGauge linGauge; + DualGauge rotGauge; + + Autopilot autopilot; + bool apEnabled;; + Uint32 last; bool running; + bool paused; };