2018-02-15 18:49:01 -08:00
|
|
|
package WayofTime.bloodmagic.altar;
|
2015-10-29 20:22:14 -07:00
|
|
|
|
2017-08-15 21:30:48 -07:00
|
|
|
public class AltarUpgrade {
|
2015-10-29 20:22:14 -07:00
|
|
|
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;
|
2016-01-01 17:36:50 -05:00
|
|
|
private int chargingCount;
|
2015-10-29 20:22:14 -07:00
|
|
|
|
2017-08-14 20:53:42 -07:00
|
|
|
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() {
|
|
|
|
}
|
|
|
|
|
2015-10-29 20:22:14 -07:00
|
|
|
// Adders
|
|
|
|
|
2017-08-15 21:30:48 -07:00
|
|
|
public AltarUpgrade addSpeed() {
|
2015-10-29 20:22:14 -07:00
|
|
|
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;
|
|
|
|
}
|
2016-01-01 17:36:50 -05:00
|
|
|
|
2017-08-15 21:30:48 -07:00
|
|
|
public AltarUpgrade addCharging() {
|
2016-01-01 17:36:50 -05:00
|
|
|
chargingCount++;
|
|
|
|
return this;
|
|
|
|
}
|
2017-08-14 20:53:42 -07:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
2015-10-29 20:22:14 -07:00
|
|
|
}
|