示例#1
0
    public void Construction_OnFloorTouched()
    {
        ballBehaviourMock_.FloorTouched += Raise.Event <Action>();

        starBehaviourMocks_[0].Received(1).IsVisible = true;
        ballBehaviourMock_.Reset();
        soundEffectBehaviourMock_.Received(1).PlayFail();
    }
示例#2
0
 private void OnFloorTouched()
 {
     foreach (var star in starBehaviours_)
     {
         star.IsVisible = true;
     }
     gainedStars_ = 0;
     ballBehaviour_.Reset();
     goalBehaviour_.State = false;
     soundEffectBehaviour_.PlayFail();
 }