#pragma once #include #include #include "screen.h" #include "ship.h" #include "bullet.h" #include "object_manager.h" //Main screen for gameplay class GameScreen : public Screen { public: std::map sprites; std::map samples; int score; int level; bool music; bool win; int map_y; ObjectManager objects; unsigned int max_bullets; std::vector enemy_q; GameScreen(std::map _sprites, std::map _samples); void reset(); void run(ALLEGRO_FONT* font); void redraw(ALLEGRO_FONT* font); void back(); void cont(); private: void play(ALLEGRO_SAMPLE_INSTANCE* x); void build_enemy_queue(); };