theatre: Access levels
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user