public void GetSayingTest( ) { for (int i = 0; i < 1000; i++) { Console.WriteLine(GameSaying.GetSaying( )); } }
private TimeSpan UpdateSaying( ) { CurrentSaying = GameSaying.GetSaying( ); SayingPresenter newPresenter = HidePrsenster; HidePrsenster = CurrentPrenster; HidePrsenster.Hide( ); CurrentPrenster = newPresenter; CurrentPrenster.Saying = CurrentSaying; CurrentPrenster.Show( ); TimeSpan timeSpan = TimeSpan.FromSeconds(CurrentSaying.Content.Length * 0.1 + 2); return(timeSpan); }