The NEW Pong Game  V13.2.1
An interesting implemnettaion of the pong game
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
SDL_Renderer * renderer
Definition: ball_test.cpp:25
Utility class providing user interface functionality.
Definition: gui.hpp:23
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
TTF_Font * font
Definition: letter_test.cpp:24