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
458 B
C

#pragma once
#include <allegro5/allegro.h>
#include <allegro5/allegro_font.h>
#include <vector>
#include <string>
#include <map>
#include "enums.h"
//Screen base class, implemented by every game screen
class Screen {
public:
State next_state;
std::map<std::string, ALLEGRO_BITMAP*> sprites;
virtual void run(ALLEGRO_FONT* font) = 0;
virtual void redraw(ALLEGRO_FONT* font) = 0;
virtual void back() = 0;
virtual void cont() = 0;
};