view.entity-module.errors.MissingBitmapFontError.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of module-entities Show documentation
Show all versions of module-entities Show documentation
Entity Manager module for the CodinGame engine toolkit. Simplify the management of shapes and drawings.
export class MissingBitmapFontError extends Error {
constructor (font, cause) {
super('Could not find font: "' + font + '". Make sure it is in your assets folder and is spelled correctly.')
this.font = font
this.cause = cause
this.name = 'MissingBitmapFontError'
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy