X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2FApplication.h;h=b5f0a6b607ff362b052be126771705cd1b53996a;hb=1129b8ac89f1e614f69793227ccec90157708aea;hp=a85269612257269349b6955fb4c85f2968cc4224;hpb=96ab5904b059e00e78b26a6527790c8dc951e324;p=space.git diff --git a/src/app/Application.h b/src/app/Application.h index a852696..b5f0a6b 100644 --- a/src/app/Application.h +++ b/src/app/Application.h @@ -3,20 +3,21 @@ #include "../graphics/Camera.h" #include "../graphics/Moveable.h" -#include "../math/Vector.h" +#include "../graphics/Vector.h" #include "../world/Universe.h" -#include +#include namespace space { -class InitScreen; +class Canvas; +class Entity; class Application { public: - explicit Application(InitScreen &); + explicit Application(Canvas &); public: void Run(); @@ -30,18 +31,19 @@ private: void Update(int delta_ms); - Vector FocusVel() const; - void Render(); private: - InitScreen &screen; + Canvas &canvas; Universe univ; Moveable focus; Camera cam; + Entity *controlled; + Vector control; + Uint32 last; bool running;