protected void setValueFrom(WarriorData target) { this.HP = new ValueBar(target.hp); this.speed = target.speed; this.power = target.power; this.attackDistance = target.distance; }
protected void setHP(int val) { HP = new ValueBar(val); }