the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "Screen.h"
3using namespace std;
4
5class ConfirmScreen : public Screen
6{
7private:
8 Screen *parent;
9 wstring title1;
10 wstring title2;
11 wstring yesButton;
12 wstring noButton;
13 int id;
14
15public:
16 ConfirmScreen(Screen *parent, const wstring& title1, const wstring& title2, int id);
17 ConfirmScreen(Screen *parent, const wstring& title1, const wstring& title2, const wstring& yesButton, const wstring& noButton, int id);
18 virtual void init();
19protected:
20 virtual void buttonClicked(Button *button);
21public:
22 virtual void render(int xm, int ym, float a);
23};