public override void StartGGPOGame(IPerfUpdate perfPanel, IList <Connections> connections, int playerIndex) { var game = new GGPORunner("vsGame", new VsGame(connections.Count), perfPanel); game.Init(connections, playerIndex); StartGame(game); }
/// <summary> /// </summary> /// <param name="perfPanel"></param> /// <param name="callback"></param> public GGPORunner(string name, IGame game, IPerfUpdate perfPanel) { LogGame("GGPOGame Created"); Name = name; GGPO.SetLogDelegate(LogPlugin); Game = game; LogPlugin("GameState Set " + Game); GameInfo = new GameInfo(); perf = perfPanel; }
public override void StartGGPOGame(IPerfUpdate perfPanel, IList <Connections> connections, int playerIndex) { runner = new GGPORunner("ecsgame", new EcsGame(ecsSceneInfo), perfPanel); ((GGPORunner)runner).Init(connections, playerIndex); StartGame(runner); }
public abstract void StartGGPOGame(IPerfUpdate perfPanel, IList <Connections> connections, int playerIndex);