Skip to content

Commit

Permalink
Tweak base Game object
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberpwnn committed Jul 12, 2016
1 parent 8f458dd commit e91d6b2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/main/java/org/cyberpwn/phantom/game/PhantomGame.java
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
package org.cyberpwn.phantom.game;

import org.bukkit.entity.Player;
import org.cyberpwn.phantom.construct.Controllable;
import org.cyberpwn.phantom.construct.Controller;
import org.cyberpwn.phantom.lang.GList;
import org.cyberpwn.phantom.util.C;

public class PhantomGame<G, T extends Team<G, P>, P extends GamePlayer<G, T>> implements Game<G, T, P>
public class PhantomGame<G, T extends Team<G, T, P>, P extends GamePlayer<G, T, P>> extends Controller implements Game<G, T, P>
{
private GList<T> teams;
private GList<P> gamePlayers;
private GList<Player> players;

public PhantomGame()
public PhantomGame(Controllable parentController)
{
super(parentController);

this.teams = new GList<T>();
this.players = new GList<Player>();
this.gamePlayers = new GList<P>();
}

@Override
public GList<T> getTeams()
{
Expand Down

0 comments on commit e91d6b2

Please sign in to comment.