Exemplo n.º 1
0
        private void CreateGame()
        {
            game = new ModdableChessGame();
            game.LoadFirstScene();
            this.gameObject.AddComponent <Mods.TOCLoader>();

            db     = game.Components.Get <GameDatabase>((int)ComponentKeys.GameDatabase);
            server = game.Components.Get <ServerInformation>((int)ComponentKeys.ServerInformation);
            local  = game.Components.Get <LocalPlayerInformation>((int)ComponentKeys.LocalPlayerInformation);
            lobby  = game.Components.Get <LobbyChoices>((int)ComponentKeys.LobbyChoices);
        }