Added functions to cover and expose cards.

This commit is contained in:
Murilo Soares Pereira
2010-04-11 17:15:34 -03:00
parent 0c798f3d56
commit d7f349a82c
2 changed files with 14 additions and 0 deletions
+12
View File
@@ -39,3 +39,15 @@ void set_card(struct card *card,
return;
}
void expose_card(struct card *card) {
card->face = EXPOSED;
return;
}
void cover_card(struct card *card) {
card->face = COVERED;
return;
}