use crate::interface::view::Sound;
use super::impl_kind;
#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub struct Sfx {
pub playback : Option <(Sound, State)>
}
impl_kind!(Sfx);
#[derive(Clone, Debug, Default, Eq, PartialEq)]
pub enum State {
#[default]
Ready,
Play,
Loop,
PlayFrom (u32),
LoopFrom (u32)
}