mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
15 lines
379 B
C#
15 lines
379 B
C#
namespace Nadeko.Econ;
|
|
|
|
public sealed class RegularDeck : NewDeck<RegularCard, RegularSuit, RegularValue>
|
|
{
|
|
public RegularDeck()
|
|
{
|
|
foreach (var suit in _suits)
|
|
{
|
|
foreach (var val in _values)
|
|
{
|
|
_cards.AddLast((RegularCard)Activator.CreateInstance(typeof(RegularCard), suit, val)!);
|
|
}
|
|
}
|
|
}
|
|
} |