public void SetUpRacket() { iRacket = Substitute.For <IRacket>(); racketController = new RacketController(); racketController.SetIRacket(iRacket); racketController.SetLocalDeltaTime(1f); racketController.SetRacketVelocity(1f); racketController.SetRacketLimit(10); }
public void SetRacketVelocity(float velocity) { racketController.SetRacketVelocity(velocity); }