Exemple #1
0
 private void GameOver()
 {
     ZebraMover.Stop();
     BlueMove.Stop();
     PurpleMove.Stop();
     GreenMove.Stop();
     GameEnd.Visible         = true;
     PlayAgainButton.Visible = true;
 }
Exemple #2
0
        private void GameOver()
        {
            ZebraMover.Stop();
            BlueMove.Stop();
            PurpleMove.Stop();
            GreenMove.Stop();
            GameEnd.Visible         = true;
            PlayAgainButton.Visible = true;

            //Stops orange car from moving
            MoveUp.Stop();
            MoveDown.Stop();
            MoveRight.Stop();
            MoveLeft.Stop();
        }