public int getHealth() { if (hp != 0 || parent == null) { return(hp); } return(parent.getHealth()); }
public Enemy(Breed breed) { health = breed.getHealth(); b = breed; }