loader.getImage

getImage(image: string) → {HTMLImageElement}

return the specified Image Object

Parameters:
Name Type Description
image string

name of the Image element ("tileset-platformer");

Returns:
Type Description
HTMLImageElement

requested element or null if not found

Powered by webdoc!