예제 #1
0
 /* Method to generate a new pattern. Uses the method from
  * PatternGenerator.cs */
 public void InitializePattern(int length)
 {
     pattern = PatternGenerator.GeneratePattern(length);
     displayEvent.Invoke(pattern, length);
     patternLength      = length;
     playerMatchPattern = false;
     PuzzleMatcher.instance.ClearPlayerArrays();
     StartCoroutine(WaitForPatternMatch());
 }
예제 #2
0
 protected virtual void DisplayMe()
 {
     DisplayEvent?.Invoke(SurnameList);
 }