#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 <SDL.h>
namespace space {
class Canvas;
-class Entity;
+class Ship;
class Application {
void Update(int delta_ms);
void Render();
+ void RenderBackground();
+ void RenderGrid();
+ void RenderShips();
+ void RenderUI();
private:
Canvas &canvas;
Moveable<float> focus;
Camera cam;
- Entity *controlled;
+ Ship *controlled;
Vector<int> control;
+ DualGauge linGauge;
+ DualGauge rotGauge;
+
+ Autopilot autopilot;
+ bool apEnabled;;
+
Uint32 last;
bool running;
+ bool paused;
};