void Ship_AnimationCompleted(object source, AnimationEndedEventArgs e) { if (e.Key == "Crash") { Ship.Visible = false; } }
void AnimationCompleted(object source, AnimationEndedEventArgs e) { if (e.Key == "Crash") { CarObject.StartAnimation("Forward"); _level.Status = RaceStatus.Running; } }