aboutsummaryrefslogtreecommitdiffstats
path: root/include/pausescreen.h
blob: 586d4bfac443051bf360dfa20cc1cba59f7c166d (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
29
30
31
#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 activate() override;
    void deactivate() override;

    void update() override;
};

#endif