My Project
UML Lab
Loading...
Searching...
No Matches
projects2024
дфддфдф
mainproject
menu.h
Go to the documentation of this file.
1
#ifndef MENU_H
2
#define MENU_H
3
4
#include <SFML/Graphics.hpp>
5
#include "
player.h
"
6
10
class
Menu
{
11
public
:
16
Menu
(sf::RenderWindow&
window
);
17
22
Player
chooseColor
();
23
24
private
:
25
sf::RenderWindow&
window
;
26
};
27
28
#endif
// MENU_H
Menu
Class representing the game menu for player color selection.
Definition
menu.h:10
Menu::chooseColor
Player chooseColor()
Displays a menu for the player to choose their color.
Definition
menu.cpp:25
Menu::Menu
Menu(sf::RenderWindow &window)
Constructs a Menu object.
Definition
menu.cpp:16
Menu::window
sf::RenderWindow & window
Definition
menu.h:25
Player
Class representing a player in the game.
Definition
player.h:9
player.h
Generated by
1.10.0