protected virtual void OnDraw([CanBeNull] GameTime gameTime) { if (gameTime != null) { GameDraw?.Invoke(this, new TimedEventArgs(gameTime)); } }
public void OnGameDraw(object sender, EventArgs e) { GameDraw.Invoke(sender, e); }