protected override void Initialize() { base.Initialize(); simpleNetworkMenu = new SimpleNetworkMenu(commandLineHost, console, CreateNetwork, CreateRollbackDriverAndGame); // Create initial game squarePlayground = new SquarePlayground(); for (int i = 0; i < 4; i++) { squarePlayground.PlayerJoin(i, "Local " + i, null, true); } }
RollbackDriver CreateRollbackDriverAndGame() { rollbackDriver = new RollbackDriver(squarePlayground = new SquarePlayground(), null, network, (int)PlayerButton.Count); return(rollbackDriver); }