Attributes
Members list
Type members
Classlikes
Represents any browser compatible audio asset
Represents any browser compatible audio asset
Value parameters
- name
-
the asset name used to look up the loaded asset
- path
-
the path to the asset
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AssetTypePrimitivetrait AssetTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AssetTypePrimitivetrait AssetTypeclass Objecttrait Matchableclass AnyShow all
Represents any browser compatible image asset
Represents any browser compatible image asset
Value parameters
- 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.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AssetTypePrimitivetrait AssetTypeclass Objecttrait Matchableclass AnyShow all
Tagged instance, the preferred constructor is the apply method: Tagged("my tag")(image1..imageN)
Tagged instance, the preferred constructor is the apply method: Tagged("my tag")(image1..imageN)
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.
Value parameters
- images
-
The image assets to be tagged
- tag
-
The AssetTag to apply to all the images
Attributes
Represents a text asset, Indigo does not care about the type of data held in the text file, it is up to the programmer to parse it.
Represents a text asset, Indigo does not care about the type of data held in the text file, it is up to the programmer to parse it.
Value parameters
- name
-
the asset name used to look up the loaded asset
- path
-
the path to the asset
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait AssetTypePrimitivetrait AssetTypeclass Objecttrait Matchableclass AnyShow all
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Flattens assets arranged in a Tagged hierarchy into a flat list of loadable assets, appropriately tagged.
Flattens assets arranged in a Tagged hierarchy into a flat list of loadable assets, appropriately tagged.
Value parameters
- assets
-
The potentially tagged hierarchy list.
Attributes
- Returns
-
List[AssetTypePrimitive]