theatre: Use interface instead of type

This commit is contained in:
sdburns1998
2019-07-07 21:37:00 +02:00
parent d668d4113a
commit 951c2d4050
2 changed files with 5 additions and 4 deletions

View File

@@ -8,6 +8,7 @@ import java.awt.Polygon;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Matcher;
@@ -34,8 +35,8 @@ public class NyloHandler extends RoomHandler
public long startTime = 0L;
int startTick = 0;
final ArrayList<NPC> waveSpawns = new ArrayList<>();
final ArrayList<NPC> waveAgros = new ArrayList<>();
final List<NPC> waveSpawns = new ArrayList<>();
final List<NPC> waveAgros = new ArrayList<>();
@Getter(AccessLevel.PUBLIC)
private Map<NPC, Integer> pillars = new HashMap<>();
@Getter(AccessLevel.PUBLIC)

View File

@@ -1,8 +1,8 @@
package net.runelite.client.plugins.theatre.timers;
import java.util.HashMap;
import java.util.Map;
public interface Timeable
{
HashMap<String, Long> getTimes();
Map<String, Long> getTimes();
}