diff --git a/src/main/java/org/cyberpwn/phantom/game/PhantomGame.java b/src/main/java/org/cyberpwn/phantom/game/PhantomGame.java index 9498aad19..ba7e6656b 100644 --- a/src/main/java/org/cyberpwn/phantom/game/PhantomGame.java +++ b/src/main/java/org/cyberpwn/phantom/game/PhantomGame.java @@ -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, P extends GamePlayer> implements Game +public class PhantomGame, P extends GamePlayer> extends Controller implements Game { private GList teams; private GList

gamePlayers; private GList players; - public PhantomGame() + public PhantomGame(Controllable parentController) { + super(parentController); + this.teams = new GList(); this.players = new GList(); this.gamePlayers = new GList

(); } - + @Override public GList getTeams() {