Пример #1
0
 public BGMPlayer(AudioSource source)
 {
     audio        = new AudioDataContainer(source);
     stateCache   = new StateCache <PlayState>();
     stateMachine = new StateMachine <PlayState>();
     stateMachine.SetState(getCahceState <Stop>(PlayState.Stop));
 }
Пример #2
0
 public PlayJingle(AudioDataContainer audio) : base(audio)
 {
 }
Пример #3
0
 public Pause(AudioDataContainer audio) : base(audio)
 {
 }
Пример #4
0
 public FadeIn(AudioDataContainer audio) : base(audio)
 {
 }
Пример #5
0
 public Intro(AudioDataContainer audio) : base(audio)
 {
 }
Пример #6
0
 public BGMState(AudioDataContainer audio)
 {
     this.audio = audio;
 }
Пример #7
0
 public Stop(AudioDataContainer audio) : base(audio)
 {
 }
Пример #8
0
 public Play(AudioDataContainer audio) : base(audio)
 {
 }
Пример #9
0
 public CrossFade(AudioDataContainer audio) : base(audio)
 {
 }