public abstract class Board
extends java.lang.Object
Constructor and Description |
---|
Board() |
Modifier and Type | Method and Description |
---|---|
abstract void |
clean() |
abstract void |
clearOwnershipAt(FLocation flocation) |
abstract void |
forceSave() |
abstract void |
forceSave(boolean sync) |
abstract java.util.Set<FLocation> |
getAllClaims(Faction faction) |
abstract java.util.Set<FLocation> |
getAllClaims(java.lang.String factionId) |
abstract Faction |
getFactionAt(FLocation flocation) |
abstract int |
getFactionCoordCount(Faction faction) |
abstract int |
getFactionCoordCount(java.lang.String factionId) |
abstract int |
getFactionCoordCountInWorld(Faction faction,
java.lang.String worldName) |
abstract java.lang.String |
getIdAt(FLocation flocation) |
static Board |
getInstance() |
abstract java.util.ArrayList<mkremins.fanciful.FancyMessage> |
getMap(FPlayer fPlayer,
FLocation flocation,
double inDegrees)
The map is relative to a coord and a faction north is in the direction of decreasing x east is in the direction
of decreasing z
|
abstract boolean |
hasFactionWithin(FLocation flocation,
Faction faction,
int radius) |
abstract boolean |
isBorderLocation(FLocation flocation) |
abstract boolean |
isConnectedLocation(FLocation flocation,
Faction faction) |
abstract boolean |
load() |
abstract void |
removeAt(FLocation flocation) |
abstract void |
setFactionAt(Faction faction,
FLocation flocation) |
abstract void |
setIdAt(java.lang.String id,
FLocation flocation) |
abstract void |
unclaimAll(java.lang.String factionId) |
abstract void |
unclaimAllInWorld(java.lang.String factionId,
org.bukkit.World world) |
protected static Board instance
public static Board getInstance()
public abstract java.lang.String getIdAt(FLocation flocation)
public abstract void setIdAt(java.lang.String id, FLocation flocation)
public abstract void removeAt(FLocation flocation)
public abstract java.util.Set<FLocation> getAllClaims(java.lang.String factionId)
public abstract void clearOwnershipAt(FLocation flocation)
public abstract void unclaimAll(java.lang.String factionId)
public abstract void unclaimAllInWorld(java.lang.String factionId, org.bukkit.World world)
public abstract boolean isBorderLocation(FLocation flocation)
public abstract boolean isConnectedLocation(FLocation flocation, Faction faction)
public abstract boolean hasFactionWithin(FLocation flocation, Faction faction, int radius)
public abstract void clean()
public abstract int getFactionCoordCount(java.lang.String factionId)
public abstract int getFactionCoordCount(Faction faction)
public abstract int getFactionCoordCountInWorld(Faction faction, java.lang.String worldName)
public abstract java.util.ArrayList<mkremins.fanciful.FancyMessage> getMap(FPlayer fPlayer, FLocation flocation, double inDegrees)
public abstract void forceSave()
public abstract void forceSave(boolean sync)
public abstract boolean load()