diff options
| author | aleksav013 <aleksav013@gmail.com> | 2021-06-01 21:03:32 +0200 |
|---|---|---|
| committer | aleksav013 <aleksav013@gmail.com> | 2021-06-01 21:03:32 +0200 |
| commit | dbe41a2f77774ee716d3ff45db766d6400970f57 (patch) | |
| tree | ec86f7305bcb2d3eec37bf8e123cb901f80a5a5d /src/includes/Entity.hpp | |
| parent | 82d49a6825af009d950b3a6c18d609da2ef8486c (diff) | |
Splitting code; Creating Makefile
Diffstat (limited to 'src/includes/Entity.hpp')
| -rw-r--r-- | src/includes/Entity.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/includes/Entity.hpp b/src/includes/Entity.hpp new file mode 100644 index 0000000..7f83c98 --- /dev/null +++ b/src/includes/Entity.hpp @@ -0,0 +1,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 |
