Esempio n. 1
0
        private void DrawHooks_DrawInterface(SpriteBatch sb, HandledEventArgs e)
        {
            if (GameHooks.IsWorldRunning && currentSettings != null)
            {
                if (currentSettings.DrawGrid)
                {
                    TrainerHelper.DrawGrid(sb, gridTexture);
                }

                if (currentSettings.DrawGridCursor)
                {
                    TrainerHelper.DrawGridCursor(sb, border);
                }

                if (currentSettings.DrawPartyText)
                {
                    TrainerHelper.DrawPartyText(sb);
                }
            }
        }