You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
477 B
C
20 lines
477 B
C
6 years ago
|
#pragma once
|
||
|
#include "cursor.h"
|
||
|
#include "screen.h"
|
||
|
|
||
6 years ago
|
//Screen to display results upon losing
|
||
6 years ago
|
class ResultScreen : public Screen {
|
||
|
public:
|
||
|
int score;
|
||
|
int difficulty;
|
||
|
Cursor<std::string> menu;
|
||
|
std::map<std::string, ALLEGRO_BITMAP*> sprites;
|
||
6 years ago
|
State prev_state;
|
||
6 years ago
|
|
||
6 years ago
|
ResultScreen(std::map<std::string, ALLEGRO_BITMAP*> _sprites, int _score, int _difficulty, State _prev_state);
|
||
6 years ago
|
|
||
|
void run(ALLEGRO_FONT* font);
|
||
|
void redraw(ALLEGRO_FONT* font);
|
||
|
void back();
|
||
|
void cont();
|
||
|
};
|