diff options
Diffstat (limited to 'pile.c')
-rw-r--r-- | pile.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -132,6 +132,14 @@ void SwapPile(Pile *a, Pile *b) *b = t; } +void MovePile(Pile *from, Pile *to) +{ + while(from->no) + { + MoveTopCard(from, to); + } +} + void FreePile(Pile *p) { if (p->card) |