BloodMagic/src/main/java/WayofTime/bloodmagic/altar/AltarUpgrade.java

123 lines
2.9 KiB
Java
Raw Normal View History

package WayofTime.bloodmagic.altar;
2017-08-15 21:30:48 -07:00
public class AltarUpgrade {
private int speedCount;
2015-11-02 21:30:28 -05:00
private int efficiencyCount;
private int sacrificeCount;
private int selfSacrificeCount;
private int displacementCount;
private int capacityCount;
private int orbCapacityCount;
private int betterCapacityCount;
private int accelerationCount;
private int chargingCount;
public AltarUpgrade(int speedCount, int efficiencyCount, int sacrificeCount, int selfSacrificeCount, int displacementCount, int capacityCount, int orbCapacityCount, int betterCapacityCount, int accelerationCount, int chargingCount) {
this.speedCount = speedCount;
this.efficiencyCount = efficiencyCount;
this.sacrificeCount = sacrificeCount;
this.selfSacrificeCount = selfSacrificeCount;
this.displacementCount = displacementCount;
this.capacityCount = capacityCount;
this.orbCapacityCount = orbCapacityCount;
this.betterCapacityCount = betterCapacityCount;
this.accelerationCount = accelerationCount;
this.chargingCount = chargingCount;
}
public AltarUpgrade() {
}
// Adders
2017-08-15 21:30:48 -07:00
public AltarUpgrade addSpeed() {
speedCount++;
return this;
}
2015-11-02 21:30:28 -05:00
2017-08-15 21:30:48 -07:00
public AltarUpgrade addEfficiency() {
2015-11-02 21:30:28 -05:00
efficiencyCount++;
return this;
}
2017-08-15 21:30:48 -07:00
public AltarUpgrade addSacrifice() {
2015-11-02 21:30:28 -05:00
sacrificeCount++;
return this;
}
2017-08-15 21:30:48 -07:00
public AltarUpgrade addSelfSacrifice() {
2015-11-02 21:30:28 -05:00
selfSacrificeCount++;
return this;
}
2017-08-15 21:30:48 -07:00
public AltarUpgrade addDisplacement() {
2015-11-02 21:30:28 -05:00
displacementCount++;
return this;
}
2017-08-15 21:30:48 -07:00
public AltarUpgrade addCapacity() {
2015-11-02 21:30:28 -05:00
capacityCount++;
return this;
}
2017-08-15 21:30:48 -07:00
public AltarUpgrade addOrbCapacity() {
2015-11-02 21:30:28 -05:00
orbCapacityCount++;
return this;
}
2017-08-15 21:30:48 -07:00
public AltarUpgrade addBetterCapacity() {
2015-11-02 21:30:28 -05:00
betterCapacityCount++;
return this;
}
2017-08-15 21:30:48 -07:00
public AltarUpgrade addAcceleration() {
2015-11-02 21:30:28 -05:00
accelerationCount++;
return this;
}
2017-08-15 21:30:48 -07:00
public AltarUpgrade addCharging() {
chargingCount++;
return this;
}
public int getSpeedCount() {
return speedCount;
}
public int getEfficiencyCount() {
return efficiencyCount;
}
public int getSacrificeCount() {
return sacrificeCount;
}
public int getSelfSacrificeCount() {
return selfSacrificeCount;
}
public int getDisplacementCount() {
return displacementCount;
}
public int getCapacityCount() {
return capacityCount;
}
public int getOrbCapacityCount() {
return orbCapacityCount;
}
public int getBetterCapacityCount() {
return betterCapacityCount;
}
public int getAccelerationCount() {
return accelerationCount;
}
public int getChargingCount() {
return chargingCount;
}
}