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