loader.getImage
getImage(image: string) → {HTMLImageElement}
return the specified Image Object
Name | Type | Description |
---|---|---|
image | string |
name of the Image element ("tileset-platformer"); |
Type | Description |
---|---|
HTMLImageElement |
requested element or null if not found |