Property definitions

app $ PlayableAudio :: defaultinit
# Abstraction of a playable Audio
abstract class PlayableAudio

	init do sounds.add self

	# Path to the audio file in the assets folder
	var path: String

	# Last error on this sound, if any
	fun error: nullable Error do return null

	# Load this playable audio
	fun load do end

	# Play the sound
	fun play do end

	# Pause the sound
	fun pause do end

	# Resume the sound
	fun resume do end
end
lib/app/audio.nit:32,1--54,3