public BGMPlayer(AudioSource source) { audio = new AudioDataContainer(source); stateCache = new StateCache <PlayState>(); stateMachine = new StateMachine <PlayState>(); stateMachine.SetState(getCahceState <Stop>(PlayState.Stop)); }
public PlayJingle(AudioDataContainer audio) : base(audio) { }
public Pause(AudioDataContainer audio) : base(audio) { }
public FadeIn(AudioDataContainer audio) : base(audio) { }
public Intro(AudioDataContainer audio) : base(audio) { }
public BGMState(AudioDataContainer audio) { this.audio = audio; }
public Stop(AudioDataContainer audio) : base(audio) { }
public Play(AudioDataContainer audio) : base(audio) { }
public CrossFade(AudioDataContainer audio) : base(audio) { }