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.
TrustFall/result_screen.h

20 lines
477 B
C++

#pragma once
#include "cursor.h"
#include "screen.h"
//Screen to display results upon losing
class ResultScreen : public Screen {
public:
int score;
int difficulty;
Cursor<std::string> menu;
std::map<std::string, ALLEGRO_BITMAP*> sprites;
State prev_state;
ResultScreen(std::map<std::string, ALLEGRO_BITMAP*> _sprites, int _score, int _difficulty, State _prev_state);
void run(ALLEGRO_FONT* font);
void redraw(ALLEGRO_FONT* font);
void back();
void cont();
};