pestcontrol: Final fields
This commit is contained in:
@@ -41,9 +41,9 @@ import net.runelite.api.events.GameTick;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
public class Game
|
public class Game
|
||||||
{
|
{
|
||||||
private Client client;
|
private final Client client;
|
||||||
|
|
||||||
private PestControlPlugin plugin;
|
private final PestControlPlugin plugin;
|
||||||
|
|
||||||
@Getter(AccessLevel.PACKAGE)
|
@Getter(AccessLevel.PACKAGE)
|
||||||
private Portal bluePortal = new Portal(PortalColor.BLUE, WidgetPortal.BLUE);
|
private Portal bluePortal = new Portal(PortalColor.BLUE, WidgetPortal.BLUE);
|
||||||
@@ -66,7 +66,7 @@ public class Game
|
|||||||
private boolean portalLocationsSet = false;
|
private boolean portalLocationsSet = false;
|
||||||
|
|
||||||
|
|
||||||
private Instant startTime = Instant.now();
|
private final Instant startTime = Instant.now();
|
||||||
|
|
||||||
public Game(Client client, PestControlPlugin plugin)
|
public Game(Client client, PestControlPlugin plugin)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -53,11 +53,11 @@ public class PortalWeaknessOverlay extends Overlay
|
|||||||
private final PestControlPlugin plugin;
|
private final PestControlPlugin plugin;
|
||||||
private final Client client;
|
private final Client client;
|
||||||
|
|
||||||
private BufferedImage magicImage;
|
private final BufferedImage magicImage;
|
||||||
private BufferedImage rangedImage;
|
private final BufferedImage rangedImage;
|
||||||
private BufferedImage stabImage;
|
private final BufferedImage stabImage;
|
||||||
private BufferedImage slashImage;
|
private final BufferedImage slashImage;
|
||||||
private BufferedImage crushImage;
|
private final BufferedImage crushImage;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
PortalWeaknessOverlay(
|
PortalWeaknessOverlay(
|
||||||
|
|||||||
Reference in New Issue
Block a user