import { ICoords } from "../interfaces" ; import Component from "./Component" ; export default class MultiClassBanner extends Component { public assets ( ) { return [ this . parent . getMultiClassBannerAsset ( ) ] ; } public render ( context , ratio ) { const asset = this . parent . getMultiClassBannerAsset ( ) ; if ( ! asset ) { return ; } const coords = { dx : 50 , dy : 119 , ratio : ratio , } ; this . sunwell . drawImage ( context , asset , coords ) ; } }