import Component from "./Component" ; export default class CardFrame extends Component { public assets ( ) { return [ this . parent . getCardFrameAsset ( ) ] ; } public render ( context , ratio ) { const coords = this . parent . baseCardFrameCoords ; coords . ratio = ratio ; this . sunwell . drawImage ( context , this . parent . getCardFrameAsset ( ) , coords ) ; } }