26 lines
610 B
C++
26 lines
610 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;
|
|
sf::String sectionsName[INFO_SECTIONS_COUNT];
|
|
sf::String sectionsContent[INFO_SECTIONS_COUNT];
|
|
|
|
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;
|
|
};
|