aboutsummaryrefslogtreecommitdiff
path: root/src/includes/Player.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/includes/Player.hpp')
-rw-r--r--src/includes/Player.hpp17
1 files changed, 17 insertions, 0 deletions
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