diff options
author | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-19 21:28:41 -0400 |
---|---|---|
committer | tylermurphy534 <tylermurphy534@gmail.com> | 2022-09-19 21:28:41 -0400 |
commit | 8cc0b081ef0188f850814b2af2cb077583eb9f2d (patch) | |
tree | f90ba2da50c91f596672730706440149fecb2393 /src/first_app.hpp | |
parent | temp patch (diff) | |
download | minecraftvulkan-8cc0b081ef0188f850814b2af2cb077583eb9f2d.tar.gz minecraftvulkan-8cc0b081ef0188f850814b2af2cb077583eb9f2d.tar.bz2 minecraftvulkan-8cc0b081ef0188f850814b2af2cb077583eb9f2d.zip |
finish refactor
Diffstat (limited to 'src/first_app.hpp')
-rwxr-xr-x | src/first_app.hpp | 12 |
1 files changed, 7 insertions, 5 deletions
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 <memory> #include <vector> -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<XeGameObject> gameObjects; + std::vector<xe::XeGameObject> gameObjects; }; }
\ No newline at end of file |