|
import * as Card from GUI.Card;
|
|
|
|
function TurnedCard(name) {
|
|
var card = Card.make(name);
|
|
card.dom.id = "turned";
|
|
deck.appendChild(this.dom);
|
|
}
|
|
|
|
TurnedCard.prototype.onClick = Card.prototype.onClick;
|
|
TurnedCard.prototype.setSelected = setSelected;
|
|
|
|
return {
|
|
make: TurnedCard
|
|
};
|