package project;
import Collection.*;

abstract class BattleEntities extends Animate implements Attackable, health, Victim, PlayerInfo, Item {
  
  protected int health, AttackPower;
  protected BattleEntities target;
  private int FullHealth;
  
  public BattleEntities (int x, int y, int p, int h) {
    super(x, y);
	AttackPower = p;
	health = h;
	FullHealth = h;
  } //constructor BattleEntities
  
  public void Restore() {
    Alive = true;
	health = FullHealth;
  } //method Restore
  
  public void update(){}
  public int getAttackPower() { return AttackPower; }
  public void healthDw(int x)throws NoHealthException{}
  public void beAttacked(Attackable a){}
   
} //class BattleEntities
