package vee.items.armors;
import vee.AttackAction;
import vee.Weaponise;
import vee.types.ArmorType;
import vee.types.DamageType;
import vee.types.EquipmentSlot;
public class Stilleto extends Armor implements Weaponise {
private Double damage;
private DamageType damageType;
public Stilleto() {
this.setDefaults();
}
@Override
protected void setDefaults() {
super.setDefaults();
this.setDefense(1.0);
this.setType(ArmorType.Leather);
this.armor = true;
this.setEquippable(true);
this.setSlot(EquipmentSlot.Feet);
this.setName("Stilletos");
this.setDescription("Stilletos with a concealed blade in the heel.");
this.setDamage(3.0);
this.setDamageType(DamageType.Normal);
}
public AttackAction attack() {
AttackAction attackAction = new AttackAction();
attackAction.setDamage(this.getDamage());
attackAction.setDamageType(this.getDamageType());
return attackAction;
}
public Double getDamage() {
return damage;
}
public void setDamage(Double damage) {
this.damage = damage;
}
public DamageType getDamageType() {
return damageType;
}
public void setDamageType(DamageType damageType) {
this.damageType = damageType;
}
}