Exemplo n.º 1
0
        protected override bool OnFrameStarted(object source, FrameEventArgs e)
        {
            bool result = base.OnFrameStarted(source, e);

            GuiBase.OnFrameStarted();
            debugText = "Role Playing Game Demo";
            ShowOverlay(gameState);

            switch (gameState)
            {
            case GameStates.Menu:
            {
                break;
            }

            case GameStates.Game:
            {
                break;
            }

            default:
            {
                break;
            }
            }
            return(result);
        }