2015-11-02 20:39:44 +00:00
|
|
|
package WayofTime.bloodmagic.api.altar;
|
2015-10-30 03:22:14 +00:00
|
|
|
|
2015-11-03 16:09:16 +00:00
|
|
|
import lombok.AllArgsConstructor;
|
2015-10-30 03:22:14 +00:00
|
|
|
import lombok.Getter;
|
2015-11-03 16:09:16 +00:00
|
|
|
import lombok.NoArgsConstructor;
|
2015-10-30 03:22:14 +00:00
|
|
|
|
|
|
|
@Getter
|
2015-11-03 16:09:16 +00:00
|
|
|
@NoArgsConstructor
|
|
|
|
@AllArgsConstructor
|
2015-11-03 03:18:53 +00:00
|
|
|
public class AltarUpgrade {
|
2015-11-03 16:09:16 +00:00
|
|
|
|
2015-10-30 03:22:14 +00:00
|
|
|
private int speedCount;
|
2015-11-03 02:30:28 +00: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;
|
2015-10-30 03:22:14 +00:00
|
|
|
|
|
|
|
// Adders
|
|
|
|
|
2015-11-03 03:18:53 +00:00
|
|
|
public AltarUpgrade addSpeed() {
|
2015-10-30 03:22:14 +00:00
|
|
|
speedCount++;
|
|
|
|
return this;
|
|
|
|
}
|
2015-11-03 02:30:28 +00:00
|
|
|
|
2015-11-03 03:18:53 +00:00
|
|
|
public AltarUpgrade addEfficiency() {
|
2015-11-03 02:30:28 +00:00
|
|
|
efficiencyCount++;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
2015-11-03 03:18:53 +00:00
|
|
|
public AltarUpgrade addSacrifice() {
|
2015-11-03 02:30:28 +00:00
|
|
|
sacrificeCount++;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
2015-11-03 03:18:53 +00:00
|
|
|
public AltarUpgrade addSelfSacrifice() {
|
2015-11-03 02:30:28 +00:00
|
|
|
selfSacrificeCount++;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
2015-11-03 03:18:53 +00:00
|
|
|
public AltarUpgrade addDisplacement() {
|
2015-11-03 02:30:28 +00:00
|
|
|
displacementCount++;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
2015-11-03 03:18:53 +00:00
|
|
|
public AltarUpgrade addCapacity() {
|
2015-11-03 02:30:28 +00:00
|
|
|
capacityCount++;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
2015-11-03 03:18:53 +00:00
|
|
|
public AltarUpgrade addOrbCapacity() {
|
2015-11-03 02:30:28 +00:00
|
|
|
orbCapacityCount++;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
2015-11-03 03:18:53 +00:00
|
|
|
public AltarUpgrade addBetterCapacity() {
|
2015-11-03 02:30:28 +00:00
|
|
|
betterCapacityCount++;
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
|
2015-11-03 03:18:53 +00:00
|
|
|
public AltarUpgrade addAcceleration() {
|
2015-11-03 02:30:28 +00:00
|
|
|
accelerationCount++;
|
|
|
|
return this;
|
|
|
|
}
|
2015-10-30 03:22:14 +00:00
|
|
|
}
|