From dbe41a2f77774ee716d3ff45db766d6400970f57 Mon Sep 17 00:00:00 2001 From: aleksav013 Date: Tue, 1 Jun 2021 21:03:32 +0200 Subject: Splitting code; Creating Makefile --- src/includes/Player.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/includes/Player.hpp (limited to 'src/includes/Player.hpp') diff --git a/src/includes/Player.hpp b/src/includes/Player.hpp new file mode 100644 index 0000000..3a2a040 --- /dev/null +++ b/src/includes/Player.hpp @@ -0,0 +1,17 @@ +#ifndef PLAYER_H +#define PLAYER_H + +#include"Entity.hpp" +class Player:public Entity +{ + public: + int health,xp; + int stomprad=270; + float stomptime; + + Player():Entity() {} + Player(sf::Vector2f pozicija,sf::Vector2f velicina,sf::Color boja); + void updatest(float dt); +}; + +#endif -- cgit v1.2.3