Image

final case
class Image(name: AssetName, path: AssetPath, tag: Option[AssetTag]) extends AssetTypePrimitive

Represents any browser compatible image asset

Value Params
name

the asset name used to look up the loaded asset

path

the path to the asset

tag

Images can optionally be "tagged", this tells indigo that images with the same tag should be grouped together for more efficient use. E.g. you might tag all the images for a given level with the same tag.

Companion
object
trait Serializable
trait Product
trait Equals
trait AssetType
class Object
trait Matchable
class Any

Value members

Concrete methods

def toList: List[AssetType]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product