Exemplo n.º 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());
 }
Exemplo n.º 2
0
 protected virtual void DisplayMe()
 {
     DisplayEvent?.Invoke(SurnameList);
 }