Fixed display of top card in waste

This commit is contained in:
2025-03-08 00:15:49 +00:00
parent bcc493d5f9
commit 7e4cfc638b

View File

@@ -234,6 +234,7 @@ impl Klondike {
self.current_num_passes_through_deck += 1; self.current_num_passes_through_deck += 1;
} }
} }
//pub fn move_one_stack_to_another(self, )
} }
impl Default for Klondike { impl Default for Klondike {
@@ -250,6 +251,9 @@ impl Default for Klondike {
piles[pile].push(c); piles[pile].push(c);
} }
} }
for card in &mut deck.cards {
card.visible = true;
}
Self { Self {
piles, piles,
deck: deck.cards, deck: deck.cards,