Ejemplo n.º 1
0
        private async void AddImperialBuildClicked(object sender, MouseButtonEventArgs e)
        {
            if (isButtonBeingPressed)
            {
                return;
            }
            isButtonBeingPressed = true;
            await Task.Delay(Opt.buttonDelay);

            isButtonBeingPressed = false;

            contentScrollViewer.ScrollToTop();

            Builds.AddBuild(Faction.Imperial);
            DisplayContent();
        }