Function getImage

  • return the specified Image Object

    Parameters

    • image: string

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

    Returns HTMLImageElement

    requested element or null if not found

    loader