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