omg on a un deuxième menu

This commit is contained in:
2025-03-23 20:15:05 +01:00
parent e721a71894
commit 507bc9cc86
12 changed files with 160 additions and 17 deletions

View File

@@ -0,0 +1,21 @@
#pragma once
#include "AppMenu.h"
#include <stack>
#include <memory>
#include <SFML/Graphics.hpp>
class GamePlayingAppMenu : public AppMenu {
private:
Game game;
bool paused;
public:
GamePlayingAppMenu(std::shared_ptr<MenuStack> menuStack, std::shared_ptr<Settings> settings, std::shared_ptr<sf::RenderWindow> renderWindow);
void computeFrame();
void drawFrame() const;
};