Tagged

indigo.shared.assets.AssetType.Tagged
See theTagged companion class
object Tagged

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Tagged.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(tag: String)(images: Image*): Tagged

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.

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

A string tag name, which is converted to an AssetTag

Attributes

Returns

An instance of Tagged which can be nested along side your usual asset declarations

def unapply(tagged: Tagged): Option[List[Image]]

Extractor for Tagged

Extractor for Tagged

Value parameters

tagged

the tagged instance to extract

Attributes

Returns

a list of tagged image assets

Givens

Givens

given derived$CanEqual: CanEqual[Tagged, Tagged]