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

            isButtonBeingPressed = false;
            ImageButton imageButton = (ImageButton)sender;

            Builds.MoveBuildDown(imageButton.uniqueBuildId);
            DisplayContent();
        }