theatre: Access levels

This commit is contained in:
sdburns1998
2019-07-07 21:30:12 +02:00
parent e70cefbb60
commit 422ed5ead6
9 changed files with 14 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ public abstract class RoomHandler
protected final Client client; protected final Client client;
protected final TheatrePlugin plugin; protected final TheatrePlugin plugin;
public RoomHandler(final Client client, final TheatrePlugin plugin) protected RoomHandler(final Client client, final TheatrePlugin plugin)
{ {
this.client = client; this.client = client;
this.plugin = plugin; this.plugin = plugin;

View File

@@ -59,7 +59,7 @@ public class BloatHandler extends RoomHandler
System.out.println("Stopping Bloat Room"); System.out.println("Stopping Bloat Room");
} }
public void reset() private void reset()
{ {
bloat = null; bloat = null;
bloatFlag = false; bloatFlag = false;

View File

@@ -94,7 +94,7 @@ public class MaidenHandler extends RoomHandler
log.debug("Stopping Maiden Room"); log.debug("Stopping Maiden Room");
} }
public void reset() private void reset()
{ {
this.bloodThrows.clear(); this.bloodThrows.clear();
this.bloodSpawns.clear(); this.bloodSpawns.clear();

View File

@@ -72,7 +72,7 @@ public class SotetsegHandler extends RoomHandler
System.out.println("Stopping Sotetseg Room"); System.out.println("Stopping Sotetseg Room");
} }
public void reset() private void reset()
{ {
npc = null; npc = null;
soteyProjectiles.clear(); soteyProjectiles.clear();

View File

@@ -72,7 +72,7 @@ public class VerzikHandler extends RoomHandler
System.out.println("Stopping Verzik Room"); System.out.println("Stopping Verzik Room");
} }
public void reset() private void reset()
{ {
this.redCrabsTimer = 13; this.redCrabsTimer = 13;
this.Verzik_RangeProjectiles.clear(); this.Verzik_RangeProjectiles.clear();

View File

@@ -107,7 +107,7 @@ public class NyloHandler extends RoomHandler
System.out.println("Stopping Nylocas Room"); System.out.println("Stopping Nylocas Room");
} }
public void reset() private void reset()
{ {
this.pillars.clear(); this.pillars.clear();
this.spiders.clear(); this.spiders.clear();

View File

@@ -46,7 +46,7 @@ public class NyloPredictor
new Wave(new Nylocas(NylocasType.RANGE_260, Spawn.WEST), new Nylocas(NylocasType.MAGE_162, Spawn.SOUTH), new Nylocas(NylocasType.MELEE_162, Spawn.SOUTH), new Nylocas(NylocasType.MAGE_260, Spawn.EAST)), new Wave(new Nylocas(NylocasType.RANGE_260, Spawn.WEST), new Nylocas(NylocasType.MAGE_162, Spawn.SOUTH), new Nylocas(NylocasType.MELEE_162, Spawn.SOUTH), new Nylocas(NylocasType.MAGE_260, Spawn.EAST)),
new Wave(new Nylocas(NylocasType.MELEE_162, Spawn.WEST), new Nylocas(NylocasType.RANGE_162, Spawn.WEST), new Nylocas(NylocasType.MAGE_162, Spawn.SOUTH), new Nylocas(NylocasType.MELEE_162, Spawn.SOUTH), new Nylocas(NylocasType.RANGE_162, Spawn.EAST), new Nylocas(NylocasType.MAGE_162, Spawn.EAST)) new Wave(new Nylocas(NylocasType.MELEE_162, Spawn.WEST), new Nylocas(NylocasType.RANGE_162, Spawn.WEST), new Nylocas(NylocasType.MAGE_162, Spawn.SOUTH), new Nylocas(NylocasType.MELEE_162, Spawn.SOUTH), new Nylocas(NylocasType.RANGE_162, Spawn.EAST), new Nylocas(NylocasType.MAGE_162, Spawn.EAST))
}; };
public final Client client; private final Client client;
int westBound = 50; int westBound = 50;
int eastBound = 77; int eastBound = 77;
int southBound = 42; int southBound = 42;
@@ -454,18 +454,18 @@ public class NyloPredictor
private final NylocasType type; private final NylocasType type;
private final Spawn spawn; private final Spawn spawn;
public Nylocas(NylocasType type, Spawn spawn) Nylocas(NylocasType type, Spawn spawn)
{ {
this.type = type; this.type = type;
this.spawn = spawn; this.spawn = spawn;
} }
public NylocasType getType() NylocasType getType()
{ {
return this.type; return this.type;
} }
public Spawn getSpawn() Spawn getSpawn()
{ {
return this.spawn; return this.spawn;
} }
@@ -488,12 +488,12 @@ public class NyloPredictor
private final Nylocas[] spawns; private final Nylocas[] spawns;
public Wave(Nylocas... nylocas) Wave(Nylocas... nylocas)
{ {
this.spawns = nylocas; this.spawns = nylocas;
} }
public Nylocas[] getSpawns() Nylocas[] getSpawns()
{ {
return this.spawns; return this.spawns;
} }

View File

@@ -14,7 +14,7 @@ import net.runelite.client.ui.overlay.components.TitleComponent;
import net.runelite.client.ui.overlay.components.table.TableAlignment; import net.runelite.client.ui.overlay.components.table.TableAlignment;
import net.runelite.client.ui.overlay.components.table.TableComponent; import net.runelite.client.ui.overlay.components.table.TableComponent;
public class XarpusCounter extends Overlay class XarpusCounter extends Overlay
{ {
private final PanelComponent panelComponent = new PanelComponent(); private final PanelComponent panelComponent = new PanelComponent();
private final XarpusHandler xarpusHandler; private final XarpusHandler xarpusHandler;

View File

@@ -88,7 +88,7 @@ public class XarpusHandler extends RoomHandler
System.out.println("Stopping Xarpus Room"); System.out.println("Stopping Xarpus Room");
} }
public void reset() private void reset()
{ {
exhumesCount = 0; exhumesCount = 0;
xarpusFlag = false; xarpusFlag = false;