The NEW Pong Game
V13.2.1
An interesting implemnettaion of the pong game
Loading...
Searching...
No Matches
gui.hpp
Go to the documentation of this file.
1
8
#ifndef GUI_HPP
9
#define GUI_HPP
10
11
#include <string>
12
#include <SDL.h>
13
#include <SDL_ttf.h>
14
22
class
GUI
23
{
24
public
:
37
static
std::string
player_name_input
(SDL_Renderer *
renderer
, TTF_Font *
font
,
int
player_number);
38
};
39
40
#endif
renderer
SDL_Renderer * renderer
Definition
ball_test.cpp:25
GUI
Utility class providing user interface functionality.
Definition
gui.hpp:23
GUI::player_name_input
static std::string player_name_input(SDL_Renderer *renderer, TTF_Font *font, int player_number)
Gets the player's name input from the SDL window.
Definition
gui.cpp:22
font
TTF_Font * font
Definition
letter_test.cpp:24
The code and any documentation on this repository is protected under a usage license.
Copyright (c) 2024 - The NEW Pong Game | All rights reserved
Vasileios Filippos Skarleas, Dounia Bakalem, Yanis Sadoun