mirror of
https://github.com/kierankihn/uno-game.git
synced 2025-12-27 02:13:18 +08:00
fix(game): init Deck in construct function by default
This commit is contained in:
@@ -73,7 +73,10 @@ namespace UNO::GAME {
|
||||
return this->front();
|
||||
}
|
||||
|
||||
Deck::Deck() = default;
|
||||
Deck::Deck()
|
||||
{
|
||||
this->init();
|
||||
}
|
||||
|
||||
void Deck::init()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user