WilHall/hakyn-client — Issue #9: Use SoundEffectInstance objects for sounds in Sfx class
Author: WilHall
Created: 2012-01-31 02:46:48+00:00
State: open

Use SoundEffectInstance objects to represent sound effects, and save currently playing sounds. That way, there is a way to check for sounds not playing, and destroy the instances, while looping sounds can persist. When a looping sound needs to be stopped, it can be referenced by a key, stopped, and removed.