aboutsummaryrefslogtreecommitdiff
path: root/src/includes/Entity.hpp
blob: 7f83c98a07cf59de99f51b72437579c8743ae319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef ENTITY_H
#define ENTITY_H

#include<SFML/Graphics.hpp>
class Entity
{
    public:
	bool ziv=1;
	float x,y;
	sf::RectangleShape telo;
	Entity() {} Entity(sf::Vector2f pozicija,sf::Vector2f velicina,sf::Color boja);
	void respawn(int sirina,int visina);
};

#endif