Skip to content

Commit

Permalink
Region
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberpwnn committed Jul 14, 2016
1 parent 39ce2e1 commit cfd249a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/main/java/org/cyberpwn/phantom/game/Region.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package org.cyberpwn.phantom.game;

import org.bukkit.entity.Player;
import org.cyberpwn.phantom.lang.GList;

public interface Region<R extends Region<R, M, G, T, P>, M extends GameMap<M, G, T, P>, G extends Game<M, G, T, P>, T extends Team<M, G, T, P>, P extends GamePlayer<M, G, T, P>>
{
public M getMap();

public G getGame();

public boolean contains(P player);

public boolean contains(Player player);

public GList<P> getGamePlayers();

public GList<Player> getPlayers();
}

0 comments on commit cfd249a

Please sign in to comment.