GRA RPG  DM & KK
Projekt na PO3
Window_Base Class Reference

Base class use to make graphic interface. More...

#include <Window_Base.h>

Inheritance diagram for Window_Base:
AddHeroe_Window Arena_Window Map_Windows Menu Restaurant_Window RestaurantFight_Window Shop_Windows

Public Member Functions

 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

Sprite backroundImage
 Basic background image. More...
 

Protected Attributes

Texture background
 
RenderWindow window
 
string title
 
int width
 
int height
 

Detailed Description

Base class use to make graphic interface.

Constructor & Destructor Documentation

◆ Window_Base() [1/2]

Window_Base::Window_Base ( String  title,
int  width,
int  height,
String  backroundPath 
)

Constructor Class Window_Base.

Parameters
title- Title of window
width- Width window
height- Height window
backroundPath- Path to basic background image

◆ Window_Base() [2/2]

Window_Base::Window_Base ( )

Default Constructor Class Window_Base.

◆ ~Window_Base()

Window_Base::~Window_Base ( )

Destructor Window_Base.

Member Function Documentation

◆ getWindows()

RenderWindow & Window_Base::getWindows ( )

Function to get make window.

Member Data Documentation

◆ background

Texture Window_Base::background
protected

◆ backroundImage

Sprite Window_Base::backroundImage

Basic background image.

◆ height

int Window_Base::height
protected

◆ title

string Window_Base::title
protected

◆ width

int Window_Base::width
protected

◆ window

RenderWindow Window_Base::window
protected