Tagged

object Tagged
Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

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 Params
images

The image assets to be tagged

tag

A string tag name, which is converted to an AssetTag

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 Params
tagged

the tagged instance to extract

Returns

a list of tagged image assets

Concrete fields

lazy val derived$CanEqual: CanEqual[Tagged, Tagged]