aboutsummaryrefslogtreecommitdiffstats
path: root/include/pausescreen.h
blob: c3c1a4358f1619ad02205878d9691036987cb3b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef POSTMODERN_PAUSESCREEN_H
#define POSTMODERN_PAUSESCREEN_H 1

#include "boxii/textwindow.h"
#include "screen.h"

class PauseScreen : public Screen {
private:
    enum class Selection {
        RESUME = 0,
        SETTINGS,
        ABORT,
        SELECTION_COUNT
    };

    std::shared_ptr<Boxii::TextWindow> m_menuWindow;

    int m_selection;
    void parseSelection();
protected:
public:
    PauseScreen();
    ~PauseScreen();

    void update() override;
};

#endif