itemstats: Protected methods

This commit is contained in:
sdburns1998
2019-07-07 15:05:08 +02:00
parent a434196e56
commit 66ba2d3ba0
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ import net.runelite.client.plugins.itemstats.stats.Stats;
public abstract class FoodBase extends StatBoost public abstract class FoodBase extends StatBoost
{ {
public FoodBase() protected FoodBase()
{ {
super(Stats.HITPOINTS, false); super(Stats.HITPOINTS, false);
} }

View File

@@ -38,13 +38,13 @@ public abstract class StatBoost extends SingleEffect
@Setter @Setter
private boolean boost; private boolean boost;
public StatBoost(Stat stat, boolean boost) protected StatBoost(Stat stat, boolean boost)
{ {
this.stat = stat; this.stat = stat;
this.boost = boost; this.boost = boost;
} }
public abstract int heals(Client client); protected abstract int heals(Client client);
@Override @Override
public StatChange effect(Client client) public StatChange effect(Client client)