Add method to get all claims for a given faction.

This commit is contained in:
drtshock
2015-04-26 00:02:30 -05:00
parent d0b514eff6
commit 9076e780cf
4 changed files with 34 additions and 8 deletions

View File

@@ -3,6 +3,7 @@ package com.massivecraft.factions;
import com.massivecraft.factions.zcore.persist.json.JSONBoard;
import java.util.ArrayList;
import java.util.Set;
public abstract class Board {
@@ -33,6 +34,10 @@ public abstract class Board {
public abstract void removeAt(FLocation flocation);
public abstract Set<FLocation> getAllClaims(String factionId);
public abstract Set<FLocation> getAllClaims(Faction faction);
// not to be confused with claims, ownership referring to further member-specific ownership of a claim
public abstract void clearOwnershipAt(FLocation flocation);