VEGO-Engine  0.1
Loading...
Searching...
No Matches
PopupWindow.h
1#pragma once
2#include <SDL.h>
3#include <SDL_ttf.h>
4#include <string>
5
6#include "Entity.h"
7
8class Game;
9
11
12public:
13 PopupWindow(const char* title, const std::string& message);
15
16 void handleWinnerEvents();
17 bool shouldContinue() const;
18
19 bool interacted;
20
21 void renderWinnerPopup(Entity::TeamLabel winner);
22
23private:
24 SDL_Renderer* renderer;
25 SDL_Window* window;
26 SDL_Texture* texture;
27 bool continueGame;
28};
TeamLabel
Allows grouping entities by team association for hits, win conditions, etc.
Definition Entity.h:54
Definition Game.h:17
Definition PopupWindow.h:10