private void GameEvents_UpdateTick(object sender, EventArgs e) { if (eventManager == null) { return; } eventManager.update(); }
/// <summary>Raised after the game state is updated (≈60 times per second).</summary> /// <param name="sender">The event sender.</param> /// <param name="e">The event arguments.</param> private void OnUpdateTicked(object sender, UpdateTickedEventArgs e) { eventManager?.update(); }