1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef PLAYER_H #define PLAYER_H #include"Entity.hpp" class Player:public Entity { public: int health,xp; int stomprad=270; float stomptime; sf::CircleShape krug; Player():Entity() {} Player(sf::Vector2f pozicija,sf::Vector2f velicina,sf::Color boja); void updatest(float dt); }; #endif