25 lines
635 B
C++
25 lines
635 B
C++
#pragma once
|
|
|
|
#include "AppMenu.h"
|
|
#include "../PlayerCursor.h"
|
|
|
|
#include <stack>
|
|
#include <memory>
|
|
#include <SFML/Graphics.hpp>
|
|
|
|
static const int INFO_SECTIONS_COUNT = 5;
|
|
|
|
class InfoAppMenu : public AppMenu {
|
|
private:
|
|
PlayerCursor playerCursor;
|
|
std::array<std::string, INFO_SECTIONS_COUNT> sectionsName;
|
|
std::array<std::string, INFO_SECTIONS_COUNT> sectionsContent;
|
|
|
|
public:
|
|
InfoAppMenu(std::shared_ptr<MenuStack> menuStack, std::shared_ptr<Settings> settings, std::shared_ptr<sf::RenderWindow> renderWindow);
|
|
|
|
void computeFrame() override;
|
|
|
|
void drawFrame() const override;
|
|
};
|