GRA RPG  DM & KK
Projekt na PO3
Arena_Window Class Reference

Class arena to representation graphic Window object Arena. More...

#include <Arena_Window.h>

Inheritance diagram for Arena_Window:
Window_Base

Public Member Functions

 Arena_Window (Champion *champ, int idUse)
 Constructor Arena_Window

Parameters
Champ- Object type Champion
idUse- Parameter type int to storage id User
More...
 
 ~Arena_Window ()
 Destructor Class Arena_Windows. More...
 
void Start ()
 Function Start to show graphic interface. More...
 
RectangleShape getClickHeal ()
 Function return object type RectangleShape to show some graphics

Parameters
Champ- Object type Champion
idUse- Parameter type int to storage id User
Returns
Object type RectangleShape
More...
 
void randMonster ()
 Function use to random monsters. 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 arena to representation graphic Window object Arena.

Constructor & Destructor Documentation

◆ Arena_Window()

Arena_Window::Arena_Window ( Champion champ,
int  idUse 
)

Constructor Arena_Window

Parameters
Champ- Object type Champion
idUse- Parameter type int to storage id User

◆ ~Arena_Window()

Arena_Window::~Arena_Window ( )

Destructor Class Arena_Windows.

Member Function Documentation

◆ getClickHeal()

RectangleShape Arena_Window::getClickHeal ( )
inline

Function return object type RectangleShape to show some graphics

Parameters
Champ- Object type Champion
idUse- Parameter type int to storage id User
Returns
Object type RectangleShape

◆ randMonster()

void Arena_Window::randMonster ( )

Function use to random monsters.

◆ Start()

void Arena_Window::Start ( )

Function Start to show graphic interface.