Esempio n. 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; }
 }
Esempio n. 2
0
 public int this[ColorsEnum color]
 {
     get { return(pool[Conversions.ColorsEnumToIndex(color)]); }
     set { pool[Conversions.ColorsEnumToIndex(color)] = value; }
 }