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++
#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);
|
|
|
|
void reset();
|
|
void run(ALLEGRO_FONT* font);
|
|
void redraw(ALLEGRO_FONT* font);
|
|
void back();
|
|
void cont();
|
|
}; |