2020-01-14 22:14:55 +01:00
|
|
|
import * as Card from GUI.Card;
|
2020-01-15 18:01:07 +01:00
|
|
|
import dom from GUI.Screen.Game.State;
|
|
|
|
|
|
|
|
return {
|
|
|
|
make: TurnedCard
|
|
|
|
};
|
2020-01-14 17:27:56 +01:00
|
|
|
|
2020-01-14 22:14:55 +01:00
|
|
|
function TurnedCard(name) {
|
|
|
|
var card = Card.make(name);
|
|
|
|
card.dom.id = "turned";
|
2020-01-15 18:01:07 +01:00
|
|
|
dom.deck.appendChild(card.dom);
|
|
|
|
return card;
|
2020-01-14 17:27:56 +01:00
|
|
|
}
|