Initial refactor of damagetype

This commit is contained in:
2024-04-01 09:19:37 -04:00
parent adfbf87056
commit a29269e335
32 changed files with 447 additions and 380 deletions
+3 -3
View File
@@ -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;
}