GRA RPG  DM & KK
Projekt na PO3
Restaurant_Window Class Reference

Class restaurant to representation graphic Window object restaurant inherit Window_Base. More...

#include <Restaurant_Window.h>

Inheritance diagram for Restaurant_Window:
Window_Base

Public Member Functions

 Restaurant_Window (Champion *champ, int idUse)
 Constructor Restaurant_Window. More...
 
 ~Restaurant_Window ()
 Destructor. More...
 
void Start ()
 Function start showing graphic interface. 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...
 

Public Attributes

Font arial
 Variable aria lto load a font. More...
 
Text ** Text_Data
 Value dyamic 2D array Text use to hold a text. More...
 
Sprite backroundTable
 Variable Sprite use to show a table. More...
 
Texture backgroundTab
 Variable Texture use to load a image. More...
 
DBcontroler dbcontroler
 Object use to connect a database. More...
 
MYSQL_ROW row
 Object temporary use to hold a row with database value. More...
 
MYSQL_RES * res
 Variable use to hold data get a database. More...
 
RectangleShape * rectangle_choose
 Dynamic array use to check who row is click. More...
 
int choose
 Value hold a choose . More...
 
int size
 Variable hold a cout data get with database. More...
 
Button buttonStart
 Object class Button. More...
 
- Public Attributes inherited from Window_Base
Sprite backroundImage
 Basic background image. More...
 

Additional Inherited Members

- Protected Attributes inherited from Window_Base
Texture background
 
RenderWindow window
 
string title
 
int width
 
int height
 

Detailed Description

Class restaurant to representation graphic Window object restaurant inherit Window_Base.

Constructor & Destructor Documentation

◆ Restaurant_Window()

Restaurant_Window::Restaurant_Window ( Champion champ,
int  idUse 
)

Constructor Restaurant_Window.

Parameters
champ- Pointet object Champion
idUse- Value use to hold id user

◆ ~Restaurant_Window()

Restaurant_Window::~Restaurant_Window ( )

Destructor.

Member Function Documentation

◆ Start()

void Restaurant_Window::Start ( )

Function start showing graphic interface.

Member Data Documentation

◆ arial

Font Restaurant_Window::arial

Variable aria lto load a font.

◆ backgroundTab

Texture Restaurant_Window::backgroundTab

Variable Texture use to load a image.

◆ backroundTable

Sprite Restaurant_Window::backroundTable

Variable Sprite use to show a table.

◆ buttonStart

Button Restaurant_Window::buttonStart

Object class Button.

◆ choose

int Restaurant_Window::choose

Value hold a choose .

◆ dbcontroler

DBcontroler Restaurant_Window::dbcontroler

Object use to connect a database.

◆ rectangle_choose

RectangleShape* Restaurant_Window::rectangle_choose

Dynamic array use to check who row is click.

◆ res

MYSQL_RES* Restaurant_Window::res

Variable use to hold data get a database.

◆ row

MYSQL_ROW Restaurant_Window::row

Object temporary use to hold a row with database value.

◆ size

int Restaurant_Window::size

Variable hold a cout data get with database.

◆ Text_Data

Text** Restaurant_Window::Text_Data

Value dyamic 2D array Text use to hold a text.