From 8cc0b081ef0188f850814b2af2cb077583eb9f2d Mon Sep 17 00:00:00 2001 From: tylermurphy534 Date: Mon, 19 Sep 2022 21:28:41 -0400 Subject: finish refactor --- src/first_app.hpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/first_app.hpp') diff --git a/src/first_app.hpp b/src/first_app.hpp index 081113d..d8942ab 100755 --- a/src/first_app.hpp +++ b/src/first_app.hpp @@ -7,11 +7,9 @@ #include #include -namespace xe { +namespace app { class FirstApp { public: - static constexpr int WIDTH = 800; - static constexpr int HEIGHT = 600; FirstApp(); ~FirstApp(); @@ -22,10 +20,14 @@ class FirstApp { void run(); private: + + static constexpr int WIDTH = 800; + static constexpr int HEIGHT = 600; + void loadGameObjects(); - XeEngine xeEngine; + xe::XeEngine xeEngine; - std::vector gameObjects; + std::vector gameObjects; }; } \ No newline at end of file -- cgit v1.2.3-freya