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
8
class
Game
;
9
10
class
PopupWindow
{
11
12
public
:
13
PopupWindow
(
const
char
* title,
const
std::string& message);
14
~PopupWindow
();
15
16
void
handleWinnerEvents();
17
bool
shouldContinue()
const
;
18
19
bool
interacted;
20
21
void
renderWinnerPopup(
Entity::TeamLabel
winner);
22
23
private
:
24
SDL_Renderer* renderer;
25
SDL_Window* window;
26
SDL_Texture* texture;
27
bool
continueGame;
28
};
Entity::TeamLabel
TeamLabel
Allows grouping entities by team association for hits, win conditions, etc.
Definition
Entity.h:54
Game
Definition
Game.h:17
PopupWindow
Definition
PopupWindow.h:10
include
PopupWindow.h
Generated by
1.10.0