Renamed class to not conflict with the java.lang version.

This commit is contained in:
2024-04-05 07:59:44 -04:00
parent dd84615ca1
commit c1ee6f5b52
388 changed files with 1807 additions and 1779 deletions
@@ -9,9 +9,9 @@
package engine.powers.poweractions;
import engine.Enum;
import engine.Enum.ModType;
import engine.Enum.SourceType;
import engine.mbEnums;
import engine.mbEnums.ModType;
import engine.mbEnums.SourceType;
import engine.math.Vector3fImmutable;
import engine.net.AbstractNetMsg;
import engine.net.DispatchMessage;
@@ -44,7 +44,7 @@ public class TransferStatPowerAction extends AbstractPowerAction {
protected float transferEfficiencyRamp;
protected boolean transferEfficiencyRampAdd;
protected boolean targetToCaster;
protected Enum.DamageType damageType;
protected mbEnums.DamageType damageType;
protected EffectsBase effect;
public TransferStatPowerAction(ResultSet rs, HashMap<String, EffectsBase> effects) throws SQLException {
@@ -78,7 +78,7 @@ public class TransferStatPowerAction extends AbstractPowerAction {
// Damage type can sometimes be null in the DB.
if (damageString.isEmpty() == false)
this.damageType = Enum.DamageType.getDamageType(damageString);
this.damageType = mbEnums.DamageType.getDamageType(damageString);
} catch (Exception e) {
this.damageType = null;
}
@@ -177,7 +177,7 @@ public class TransferStatPowerAction extends AbstractPowerAction {
float max = min;
float damage = 0f;
if (source.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)) {
if (source.getObjectType().equals(mbEnums.GameObjectType.PlayerCharacter)) {
PlayerCharacter pc = (PlayerCharacter) source;
float focus;
CharacterSkill skill = pc.getSkills().get(pb.getSkillName());