From cfd249ace7802dee427e6605da68096442af889c Mon Sep 17 00:00:00 2001 From: Daniel Mills Date: Thu, 14 Jul 2016 11:34:14 -0400 Subject: [PATCH] Region --- .../org/cyberpwn/phantom/game/Region.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/main/java/org/cyberpwn/phantom/game/Region.java diff --git a/src/main/java/org/cyberpwn/phantom/game/Region.java b/src/main/java/org/cyberpwn/phantom/game/Region.java new file mode 100644 index 000000000..d63ccdf16 --- /dev/null +++ b/src/main/java/org/cyberpwn/phantom/game/Region.java @@ -0,0 +1,19 @@ +package org.cyberpwn.phantom.game; + +import org.bukkit.entity.Player; +import org.cyberpwn.phantom.lang.GList; + +public interface Region, M extends GameMap, G extends Game, T extends Team, P extends GamePlayer> +{ + public M getMap(); + + public G getGame(); + + public boolean contains(P player); + + public boolean contains(Player player); + + public GList

getGamePlayers(); + + public GList getPlayers(); +}