public override void OnEndGame(Game game)
        {
            var oldInterface = MainInterface;

            Gui.SetViewer(Viewer.CreateLocalPlayer(MainInterface.RenderView, MainInterface.AudioInterface, this, Gui));

            oldInterface.SetGame(null);
        }
Exemplo n.º 2
0
        public override void OnEndGame(Game game)
        {
            MainInterface.SetGame(null);

            if (!(this is LocalPlayerViewer))
            {
                Gui.SetViewer(Viewer.CreateLocalPlayer(MainInterface.RenderView, MainInterface.AudioInterface, this, Gui));
            }
        }
Exemplo n.º 3
0
        public override void OnEndGame(Game game)
        {
            Log.Verbose.Write(ErrorSystemType.Application, "Local viewer: End game");

            var oldInterface = MainInterface;

            if (!(this is LocalPlayerViewer))
            {
                Gui.SetViewer(Viewer.CreateLocalPlayer(MainInterface.RenderView, MainInterface.AudioInterface, this, Gui));
            }

            oldInterface.SetGame(null);
        }