]> git.localhorst.tv Git - blobs.git/blobdiff - src/app/Application.hpp
switch creatures with left click
[blobs.git] / src / app / Application.hpp
index 040935f714d2a2a7081470a4dd31ba660faec024..1ae7b6f12eb8b607050262ecd597cfa891d47536 100644 (file)
@@ -32,6 +32,12 @@ public:
        State &GetState();
        bool HasState() const noexcept;
 
+       Window &GetWindow() noexcept { return window; }
+       const Window &GetWindow() const noexcept { return window; }
+
+       graphics::Viewport &GetViewport() noexcept { return viewport; }
+       const graphics::Viewport &GetViewport() const noexcept { return viewport; }
+
        /// Loop until states is empty.
        void Run();
        /// Evaluate a single frame of dt milliseconds.