Example #1
0
 public void SetCurrentChoosedHand(HandColour color)
 {
     if (OnChooseColor != null)
     {
         OnChooseColor(color);
         CurrentChoosenHand = color;
     }
 }
Example #2
0
    public void UpdateGamePreview(HandColour color)
    {
        var setting = Array.Find(HandsList.ToArray(), handSetting => handSetting.ColourOfHand.Equals(color));

        if (OnUpdateHandPreview != null)
        {
            OnUpdateHandPreview(setting);
        }
    }