PlaySound

indigo.shared.events.PlaySound
final case class PlaySound(assetName: AssetName, volume: Volume) extends GlobalEvent

Can be emitted to trigger the one time play back of a sound asset.

Value parameters

assetName

Reference to the loaded asset

volume

What volume level to play at

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait GlobalEvent
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def withVolume(newVolume: Volume): PlaySound

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product