private void OnTick() { KeyboardEventArgs keyPressed = KeyPressed; KeyPressed = null; GameLogic.MakeMove(keyPressed); RenderMethod?.Invoke(this, EventArgs.Empty); }
private object GetValue(LogEventInfo logEvent) { return(RenderMethod.Invoke(logEvent, LoggingConfiguration)); }