Merge remote-tracking branch 'origin/feature/weaponJSON' into feature/weaponCollision
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
class Enemy : public Entity
|
||||
{
|
||||
public:
|
||||
Enemy(const std::string &fileName, const std::string &fileMusic, const Vec3f &position, const Vec3f &rotation, const float &scale);
|
||||
Enemy(const std::string &fileName, const std::string &fileMusic, float damage, float health, const Vec3f &position, const Vec3f &rotation, const float &scale);
|
||||
~Enemy();
|
||||
|
||||
Sound* music;
|
||||
@@ -16,6 +16,8 @@ public:
|
||||
bool hasTarget;
|
||||
Vec3f target;
|
||||
float speed,radius;
|
||||
float health;
|
||||
float damage;
|
||||
int xp;
|
||||
bool attack;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user