GRA RPG  DM & KK
Projekt na PO3
RestaurantFight_Window Class Reference

Class to representation graphic Window object Fight betwen players. More...

#include <RestaurantFight_Window.h>

Inheritance diagram for RestaurantFight_Window:
Window_Base

Public Member Functions

 RestaurantFight_Window (Champion *champ, Champion *opon, int id)
 Constructor RestaurantFight_Window

Parameters
champ- Player's character
opon- Selected opponent
id- User's id
More...
 
 ~RestaurantFight_Window ()
 Destructor Class RestaurantFight_Window. More...
 
void Start ()
 Function start showing RestaurantFight_Window and fight between players. More...
 
- Public Member Functions inherited from Window_Base
 Window_Base (String title, int width, int height, String backroundPath)
 Constructor Class Window_Base. More...
 
 Window_Base ()
 Default Constructor Class Window_Base. More...
 
 ~Window_Base ()
 Destructor Window_Base. More...
 
RenderWindow & getWindows ()
 Function to get make window. More...
 

Additional Inherited Members

- Public Attributes inherited from Window_Base
Sprite backroundImage
 Basic background image. More...
 
- Protected Attributes inherited from Window_Base
Texture background
 
RenderWindow window
 
string title
 
int width
 
int height
 

Detailed Description

Class to representation graphic Window object Fight betwen players.

Constructor & Destructor Documentation

◆ RestaurantFight_Window()

RestaurantFight_Window::RestaurantFight_Window ( Champion champ,
Champion opon,
int  id 
)

Constructor RestaurantFight_Window

Parameters
champ- Player's character
opon- Selected opponent
id- User's id

◆ ~RestaurantFight_Window()

RestaurantFight_Window::~RestaurantFight_Window ( )

Destructor Class RestaurantFight_Window.

Member Function Documentation

◆ Start()

void RestaurantFight_Window::Start ( )

Function start showing RestaurantFight_Window and fight between players.