public RacingManagerShould() { _sut = new RacingManager(_racingCardOnDeskManager.Object, _mockITrackManager.Object); BoardGame.Mediator = new Mock <IMediator>() { DefaultValue = DefaultValue.Mock }.Object; }
// Use this for initialization void Start() { // Network level loading is done in a separate channel DontDestroyOnLoad(this); //Debug.Log(gameObject.name); networkView = GetComponent <NetworkView>(); racingManager = GetComponent <RacingManager>(); networkView.group = 1; maxNumPlayers = 7; // number of players other than the server numPlayers = maxNumPlayers; queuedLevels = new List <string>(); playerList = new List <NetworkPlayer>(); nameList = new List <string>(); }
private void Start() { is_passed = new bool[2]; _index = int.Parse(transform.name) - 1; racingManager = transform.GetComponentInParent <RacingManager>(); }