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.
18 lines
365 B
C
18 lines
365 B
C
6 years ago
|
#pragma once
|
||
|
#include "screen.h"
|
||
|
#include "cursor.h"
|
||
|
|
||
|
//Starting menu
|
||
|
class StartScreen : public Screen {
|
||
|
public:
|
||
|
Cursor<std::string> menu;
|
||
|
std::map<std::string, ALLEGRO_BITMAP*> sprites;
|
||
|
|
||
|
StartScreen(std::map<std::string, ALLEGRO_BITMAP*> _sprites);
|
||
|
|
||
6 years ago
|
void reset();
|
||
6 years ago
|
void run(ALLEGRO_FONT* font);
|
||
|
void redraw(ALLEGRO_FONT* font);
|
||
|
void back();
|
||
|
void cont();
|
||
|
};
|