Fx

class Fx(context: Context)

Sound and haptics. Every sound is synthesised at startup from sine/triangle oscillators with simple envelopes — there are no audio assets.

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun play(sfx: Sfx)
Link copied to clipboard