Class Board

  • Direct Known Subclasses:
    MemoryBoard

    public abstract class Board
    extends java.lang.Object
    • Field Detail

      • instance

        protected static Board instance
    • Constructor Detail

      • Board

        public Board()
    • Method Detail

      • getInstance

        public static Board getInstance()
      • getIdAt

        public abstract java.lang.String getIdAt​(FLocation flocation)
      • setIdAt

        public abstract void setIdAt​(java.lang.String id,
                                     FLocation flocation)
      • setFactionAt

        public abstract void setFactionAt​(Faction faction,
                                          FLocation flocation)
      • removeAt

        public abstract void removeAt​(FLocation flocation)
      • getAllClaims

        public abstract java.util.Set<FLocation> getAllClaims​(java.lang.String factionId)
      • getAllClaims

        public abstract java.util.Set<FLocation> getAllClaims​(Faction faction)
      • clearOwnershipAt

        public abstract void clearOwnershipAt​(FLocation flocation)
      • unclaimAll

        public abstract void unclaimAll​(java.lang.String factionId)
      • unclaimAllInWorld

        public abstract void unclaimAllInWorld​(java.lang.String factionId,
                                               org.bukkit.World world)
      • isBorderLocation

        public abstract boolean isBorderLocation​(FLocation flocation)
      • isConnectedLocation

        public abstract boolean isConnectedLocation​(FLocation flocation,
                                                    Faction faction)
      • hasFactionWithin

        public abstract boolean hasFactionWithin​(FLocation flocation,
                                                 Faction faction,
                                                 int radius)
      • clean

        public abstract void clean()
      • getFactionCoordCount

        public abstract int getFactionCoordCount​(java.lang.String factionId)
      • getFactionCoordCount

        public abstract int getFactionCoordCount​(Faction faction)
      • getFactionCoordCountInWorld

        public abstract int getFactionCoordCountInWorld​(Faction faction,
                                                        java.lang.String worldName)
      • getMap

        public abstract java.util.List<mkremins.fanciful.FancyMessage> getMap​(FPlayer fPlayer,
                                                                              FLocation flocation,
                                                                              double inDegrees)
      • forceSave

        public abstract void forceSave()
      • forceSave

        public abstract void forceSave​(boolean sync)
      • load

        public abstract boolean load()