private static void OnShipDestroyed(object sender, EventArgs e) { __Timer.Stop(); __GameLog.LogGameOver(_Counter); __GameLogFile.LogGameOver(_Counter); __GameLog.Flush(); __GameLogFile.Flush(); var g = __Buffer.Graphics; g.Clear(Color.DarkBlue); g.DrawString($"Game over!!!\nResult\n{_Counter} points", new Font(FontFamily.GenericSerif, 60, FontStyle.Bold), Brushes.Red, 100, 100); __Buffer.Render(); }