screen concept

This commit is contained in:
2023-07-26 12:24:18 +02:00
parent e92c7cbfa0
commit 3a1c15f313
7 changed files with 94 additions and 1 deletions

15
src/main_screen.hpp Normal file
View File

@ -0,0 +1,15 @@
#pragma once
#include "./screen.hpp"
#include <string>
struct MainScreen final : public Screen {
MainScreen(std::string save_path);
~MainScreen(void) = default;
// return nullptr if not next
// sets bool quit to true if exit
Screen* poll(bool&) override;
};