/// <summary> /// Creates a new instance of the GameConfiguration object. /// </summary> /// <param name="registration">An object that provides functions to modify the update and push rates.</param> public GameConfiguration(GameRegistration registration) { _updateRateSetter = registration.UpdateRateSetter; _pushRateSetter = registration.PushRateSetter; UpdateRate = DefaultUpdateRate; PushRate = DefaultPushRate; }