feature/imgui-sdl
Last change
on this file since 699e83a was 699e83a, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 4 years ago |
Add a GameScreen class to render the main gameplay
|
-
Property mode
set to
100644
|
File size:
450 bytes
|
Line | |
---|
1 | #ifndef _GAME_SCREEN_H
|
---|
2 | #define _GAME_SCREEN_H
|
---|
3 |
|
---|
4 | #include <map>
|
---|
5 |
|
---|
6 | #include "screen.hpp"
|
---|
7 |
|
---|
8 | class GameScreen : public Screen {
|
---|
9 | public:
|
---|
10 | GameScreen(SDL_Renderer& renderer, VulkanGame& gameInfo);
|
---|
11 | ~GameScreen() override;
|
---|
12 |
|
---|
13 | void createRenderCommands(VkCommandBuffer& commandBuffer, uint32_t currentImage) override;
|
---|
14 |
|
---|
15 | void handleEvent(UIEvent& e) override;
|
---|
16 | };
|
---|
17 |
|
---|
18 | void mainMenu_onMouseClick(VulkanGame& gameInfo);
|
---|
19 |
|
---|
20 | #endif // _GAME_SCREEN_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.