Initial refactor of damagetype
This commit is contained in:
@@ -13,18 +13,18 @@ import engine.Enum;
|
||||
|
||||
public class DamageShield {
|
||||
|
||||
private final Enum.SourceType damageType;
|
||||
private final Enum.DamageType damageType;
|
||||
private final float amount;
|
||||
private final boolean usePercent;
|
||||
|
||||
public DamageShield(Enum.SourceType damageType, float amount, boolean usePercent) {
|
||||
public DamageShield(Enum.DamageType damageType, float amount, boolean usePercent) {
|
||||
super();
|
||||
this.damageType = damageType;
|
||||
this.amount = amount;
|
||||
this.usePercent = usePercent;
|
||||
}
|
||||
|
||||
public Enum.SourceType getDamageType() {
|
||||
public Enum.DamageType getDamageType() {
|
||||
return this.damageType;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user