-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIntCount.h
25 lines (19 loc) · 874 Bytes
/
IntCount.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#pragma once
#include "class_header.h"
#include "counter.h"
///IntCount.h
//Klasa do wyswietlania watrosci typu int
//Pozycja liczona od srodka elementu
class IntCount : public counter
{
private:
int _value;
public:
IntCount(sf::Vector2f size, sf::Vector2f position, sf::Font &font, std::string src_img, int size_font, sf::Color color_font, int val = 0);
IntCount(float size_x, float size_y, float pos_x, float pos_y, sf::Font &font, std::string src_img, int size_font, sf::Color color_font, int val = 0);
IntCount(sf::Vector2f size, sf::Vector2f position, sf::Font &font, sf::Texture &src_tex, int size_font, sf::Color color_font, int val = 0);
IntCount(float size_x, float size_y, float pos_x, float pos_y, sf::Font &font, sf::Texture &src_tex, int size_font, sf::Color color_font, int val = 0);
~IntCount();
void increaseValue(int add);
int getValue();
};