ExPilot.Sound (ExPilot v0.1.1)

Copy Markdown View Source

The sound each game event makes.

voice/1 maps an event name from ExPilot.Game to a TuningFork.Voice, a run of them, or nil for silence. Cauldron2D.Audio places each by the event's position.

Summary

Functions

The sound for an event name; nil for none.

Functions

voice(arg1)

@spec voice(atom()) :: Cauldron2D.Audio.sound()

The sound for an event name; nil for none.