示例#1
0
 private void PrintTokenPoolShortWithColours(IPool tokenPool, string separator = " ")
 {
     foreach (var col in tokenPool.Colours())
     {
         var str = new string(FromCoinColour(col)[0], tokenPool[col]);
         Write(str + separator, ToConsole(col));
     }
 }
示例#2
0
 private void PrintTokenPoolShortWithColoursAsNumers(IPool tokenPool, string separator = " ")
 {
     foreach (var col in tokenPool.Colours())
     {
         if (tokenPool[col] == 0)
         {
             continue;
         }
         Write(tokenPool[col] + separator, ToConsole(col));
     }
 }