blob: 04053650c17366cd9381a6e71ea0bb5b6b834059 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef ENEMY1_H
#define ENEMY1_H
#include"Entity.hpp"
class Enemy1:public Entity
{
private:
float vx,vy;
public:
static float time;
Enemy1():Entity() {}
Enemy1(sf::Vector2f pozicija,sf::Vector2f velicina,sf::Color boja);
void izracunajbrzinu(float igracx,float igracy);
void izracunajpoz(float dt);
};
#endif
|