inferno: method can be private
This commit is contained in:
@@ -88,7 +88,7 @@ public class InfernoOverlay extends Overlay
|
|||||||
}
|
}
|
||||||
|
|
||||||
// renders text location
|
// renders text location
|
||||||
public static void renderTextLocation(Graphics2D graphics, InfernoNPC actor, String text, Color color)
|
private static void renderTextLocation(Graphics2D graphics, InfernoNPC actor, String text, Color color)
|
||||||
{
|
{
|
||||||
graphics.setFont(new Font("Arial", Font.BOLD, 15));
|
graphics.setFont(new Font("Arial", Font.BOLD, 15));
|
||||||
Point textLocation = actor.getNpc().getCanvasTextLocation(graphics, text, actor.textLocHeight + 40);
|
Point textLocation = actor.getNpc().getCanvasTextLocation(graphics, text, actor.textLocHeight + 40);
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ public class InfernoPlugin extends Plugin
|
|||||||
|
|
||||||
private List<Actor> waveMonsters;
|
private List<Actor> waveMonsters;
|
||||||
|
|
||||||
public InfernoPlugin()
|
private InfernoPlugin()
|
||||||
{
|
{
|
||||||
waveMonsters = new ArrayList<>();
|
waveMonsters = new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user