Refactor Safespot
This commit is contained in:
@@ -40,16 +40,18 @@ import net.runelite.client.ui.overlay.OverlayManager;
|
||||
)
|
||||
public class SafeSpotPlugin extends Plugin
|
||||
{
|
||||
|
||||
@Inject
|
||||
private Client client;
|
||||
|
||||
@Inject
|
||||
OverlayManager overlayManager;
|
||||
|
||||
@Inject
|
||||
private SafeSpotConfig config;
|
||||
|
||||
@Getter
|
||||
private ArrayList<Tile> safeSpotList;
|
||||
|
||||
@Getter
|
||||
private boolean safeSpotsRenderable = false;
|
||||
|
||||
@@ -132,6 +134,7 @@ public class SafeSpotPlugin extends Plugin
|
||||
|
||||
/**
|
||||
* The ArrayList of 1-way safe spots
|
||||
*
|
||||
* @param actor - The Actor that the tiles are a safe spot against
|
||||
* @param worldPoints - Worldpoints in the current scene
|
||||
* @return an ArrayList of Tiles where current player can attack actor but actor cannot attack local player
|
||||
|
||||
Reference in New Issue
Block a user