Esempio n. 1
0
 public bool Push(Step step)
 {
     if (this.StepList.Exists(s => s.Equals(step)))
     {
         return false;
     }
     this.StepList.Add(step);
     return true;
 }
Esempio n. 2
0
 protected bool Equals(Step other)
 {
     return this.Row == other.Row && this.Column == other.Column && this.ColorNumber == other.ColorNumber ;
 }