import { SerializableObject } from "../../core/SerializableObject" ; import { Texture } from "../../graphics/texture/Texture" ; export class Font extends SerializableObject { getTexture ( ) { console . assert ( false , "Calling Abstract Method" ) ; return ( 0 as any ) as Texture ; } setText ( text ) { } setAlignment ( alignment ) { } getWidth ( ) { return 0 ; } getHeight ( ) { return 0 ; } isLoaded ( ) { return true ; } hidden prepareForRendering ( screenScaleFactor , maxWidth ) { } }