This commit is contained in:
Nick 2015-11-03 08:09:16 -08:00
parent 081698c6f9
commit fa1bb906d3
7 changed files with 111 additions and 164 deletions

View file

@ -1,9 +1,14 @@
package WayofTime.bloodmagic.api.altar;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class AltarUpgrade {
private int speedCount;
private int efficiencyCount;
private int sacrificeCount;
@ -14,23 +19,6 @@ public class AltarUpgrade {
private int betterCapacityCount;
private int accelerationCount;
public AltarUpgrade() {
}
public AltarUpgrade(int speedCount, int efficiencyCount, int sacrificeCount, int selfSacrificeCount, int displacementCount, int capacityCount, int orbCapacityCount, int betterCapacityCount, int accelerationCount)
{
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;
}
// Adders
public AltarUpgrade addSpeed() {
@ -77,5 +65,4 @@ public class AltarUpgrade {
accelerationCount++;
return this;
}
}