Changeset 0df3c9a in opengl-game for space-game.hpp
- Timestamp:
- Aug 29, 2019, 9:16:07 PM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 4eb4d0a
- Parents:
- eba8c0c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
space-game.hpp
reba8c0c r0df3c9a 2 2 #define _SPACE_GAME_H 3 3 4 #include "game-gui-sdl.hpp" 5 6 const int SCREEN_WIDTH = 800; 7 const int SCREEN_HEIGHT = 600; 8 4 9 class SpaceGame { 5 10 public: 11 SpaceGame(); 12 ~SpaceGame(); 13 6 14 void run(); 15 16 private: 17 GameGui* gui; 18 SDL_Window* window; 19 20 bool initWindow(); 21 void initVulkan(); 22 void mainLoop(); 23 void cleanup(); 7 24 }; 8 25
Note:
See TracChangeset
for help on using the changeset viewer.