Esempio n. 1
0
 public void onShapeCaught(Combo.Shape caughtShape)
 {
     if (activeCombo.HasValue)
     {
         if (activeCombo.Value.shape.Equals(caughtShape))
         {
             postComboEventPassed(activeCombo.Value);
         }
         else
         {
             //Combo failed!
             postComboEventFailed(activeCombo.Value);
             activeCombo = null;
         }
     }
 }
Esempio n. 2
0
 public Combo(Combo.Color color, Combo.Shape shape)
 {
     this.color = color;
     this.shape = shape;
 }