Exemple #1
0
 /// <summary>
 /// Gets the number of mana symbols of the specified <see cref="ColorsEnum">color</see>
 /// </summary>
 /// <param name='color'>
 /// Color.
 /// </param>
 public int this[ColorsEnum color]
 {
     get { return(coloredSymbols[Conversions.ColorsEnumToIndex(color)]); }
     private set { coloredSymbols[Conversions.ColorsEnumToIndex(color)] = value; }
 }
Exemple #2
0
 public int this[ColorsEnum color]
 {
     get { return(pool[Conversions.ColorsEnumToIndex(color)]); }
     set { pool[Conversions.ColorsEnumToIndex(color)] = value; }
 }