public class AreaSelectionUtil
extends java.lang.Object
Constructor and Description |
---|
AreaSelectionUtil() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<WorldCoord> |
filterOwnedBlocks(TownBlockOwner owner,
java.util.List<WorldCoord> selection) |
static java.util.List<WorldCoord> |
filterPlotsForSale(java.util.List<WorldCoord> selection) |
static java.util.List<WorldCoord> |
filterPlotsNotForSale(java.util.List<WorldCoord> selection) |
static java.util.List<WorldCoord> |
filterTownOwnedBlocks(java.util.List<WorldCoord> selection)
Returns a list containing only wilderness townblocks.
|
static java.util.List<WorldCoord> |
filterUnownedPlots(java.util.List<WorldCoord> selection) |
static java.util.List<WorldCoord> |
filterWildernessBlocks(java.util.List<WorldCoord> selection)
Returns a List containing only claimed townblocks.
|
static int |
getAreaSelectPivot(java.lang.String[] args) |
static boolean |
isOnEdgeOfOwnership(TownBlockOwner owner,
WorldCoord worldCoord) |
static java.util.List<WorldCoord> |
selectWorldCoordArea(TownBlockOwner owner,
WorldCoord pos,
java.lang.String[] args) |
static java.util.List<WorldCoord> |
selectWorldCoordAreaCircle(TownBlockOwner owner,
WorldCoord pos,
java.lang.String[] args) |
static java.util.List<WorldCoord> |
selectWorldCoordAreaRect(TownBlockOwner owner,
WorldCoord pos,
java.lang.String[] args) |
public static java.util.List<WorldCoord> selectWorldCoordArea(TownBlockOwner owner, WorldCoord pos, java.lang.String[] args) throws TownyException
TownyException
public static java.util.List<WorldCoord> selectWorldCoordAreaRect(TownBlockOwner owner, WorldCoord pos, java.lang.String[] args) throws TownyException
TownyException
public static java.util.List<WorldCoord> selectWorldCoordAreaCircle(TownBlockOwner owner, WorldCoord pos, java.lang.String[] args) throws TownyException
TownyException
public static java.util.List<WorldCoord> filterTownOwnedBlocks(java.util.List<WorldCoord> selection)
selection
- public static java.util.List<WorldCoord> filterWildernessBlocks(java.util.List<WorldCoord> selection)
selection
- public static java.util.List<WorldCoord> filterOwnedBlocks(TownBlockOwner owner, java.util.List<WorldCoord> selection)
public static java.util.List<WorldCoord> filterPlotsForSale(java.util.List<WorldCoord> selection)
public static java.util.List<WorldCoord> filterPlotsNotForSale(java.util.List<WorldCoord> selection)
public static java.util.List<WorldCoord> filterUnownedPlots(java.util.List<WorldCoord> selection)
public static int getAreaSelectPivot(java.lang.String[] args)
public static boolean isOnEdgeOfOwnership(TownBlockOwner owner, WorldCoord worldCoord)