1 /*
2 Copyright © 2020 Justin Jacobs
3 
4 This file is part of FLARE.
5 
6 FLARE is free software: you can redistribute it and/or modify it under the terms
7 of the GNU General Public License as published by the Free Software Foundation,
8 either version 3 of the License, or (at your option) any later version.
9 
10 FLARE is distributed in the hope that it will be useful, but WITHOUT ANY
11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12 PARTICULAR PURPOSE.  See the GNU General Public License for more details.
13 
14 You should have received a copy of the GNU General Public License along with
15 FLARE.  If not, see http://www.gnu.org/licenses/
16 */
17 
18 #ifndef MENU_GAMEOVER_H
19 #define MENU_GAMEOVER_H
20 
21 #include "CommonIncludes.h"
22 #include "Menu.h"
23 #include "WidgetLabel.h"
24 
25 class WidgetButton;
26 
27 class MenuGameOver : public Menu {
28 protected:
29 	WidgetButton *button_continue;
30 	WidgetButton *button_exit;
31 	WidgetLabel label;
32 
33 public:
34 	MenuGameOver();
35 	~MenuGameOver();
36 
37 	void logic();
38 	void align();
39 	void close();
40 	void disableSave();
41 	virtual void render();
42 
43 	bool continue_clicked;
44 	bool exit_clicked;
45 };
46 
47 #endif
48