private void Start() { FirstPhase = GetComponent <FirstPhase>(); SecondPhase = GetComponent <Swipo>(); ThirdPhase = GetComponent <Shaker>(); SetInstruc(); UpdateScore(0); }
public override int CompareTo(object y) { var other = y as Phase; if (other == null) { return(0); } var firstComparison = FirstPhase.CompareTo(other.FirstPhase); return(firstComparison != 0 ? firstComparison : SecondPhase.CompareTo(other.SecondPhase)); }
public void HaveTheRightNumberOfMatchesAfterRun() { var firstPhase = new FirstPhase(FakeMovieGenerator.GetDefaultMovieList()); Assert.Equal(4, firstPhase.Matches.Count); }
public int CompareTo(Phase other) { var firstComparison = FirstPhase.CompareTo(other.FirstPhase); return(firstComparison != 0 ? firstComparison : SecondPhase.CompareTo(other.SecondPhase)); }
private void Start() { firstPhase = GameManager.instance.gameObject.GetComponent <FirstPhase>(); }