Tagged

indigo.shared.assets.AssetType.Tagged
See theTagged companion object
final case class Tagged(tag: AssetTag, images: List[Image]) extends AssetType

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

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait AssetType
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def toList: List[Image]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product