mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
- Small amount of refactoring - Separated imagesharp extension to ImageSharpExtensions.cs - Using .join Ienumerable extension instead of string.join in some places
17 lines
447 B
C#
17 lines
447 B
C#
namespace NadekoBot.Modules.Gambling.Common;
|
|
|
|
public class QuadDeck : Deck
|
|
{
|
|
protected override void RefillPool()
|
|
{
|
|
CardPool = new(52 * 4);
|
|
for (var j = 1; j < 14; j++)
|
|
for (var i = 1; i < 5; i++)
|
|
{
|
|
CardPool.Add(new((CardSuit)i, j));
|
|
CardPool.Add(new((CardSuit)i, j));
|
|
CardPool.Add(new((CardSuit)i, j));
|
|
CardPool.Add(new((CardSuit)i, j));
|
|
}
|
|
}
|
|
} |