示例#1
0
        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);
        }
示例#2
0
        /// <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;
        }
示例#3
0
 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);
 }
示例#4
0
 public abstract void StartGGPOGame(IPerfUpdate perfPanel, IList <Connections> connections, int playerIndex);