Esempio n. 1
0
 public void SetUpRacket()
 {
     iRacket          = Substitute.For <IRacket>();
     racketController = new RacketController();
     racketController.SetIRacket(iRacket);
     racketController.SetLocalDeltaTime(1f);
     racketController.SetRacketVelocity(1f);
     racketController.SetRacketLimit(10);
 }
Esempio n. 2
0
    //--------------------------------

    void Start()
    {
        racketController = new RacketController();
        racketController.SetIRacket(this);
        SetPosition(transform.position);
    }