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

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

            oldInterface.SetGame(null);
        }
Beispiel #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));
            }
        }
Beispiel #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);
        }