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