14 lines
256 B
JavaScript
14 lines
256 B
JavaScript
|
|
||
|
function TurnedCard() {
|
||
|
Card.apply(this, arguments);
|
||
|
this.dom.id = "turned";
|
||
|
deck.appendChild(this.dom);
|
||
|
}
|
||
|
|
||
|
TurnedCard.prototype.onClick = Card.prototype.onClick;
|
||
|
TurnedCard.prototype.setSelected = setSelected;
|
||
|
|
||
|
return {
|
||
|
TurnedCard: TurnedCard
|
||
|
};
|