Esempio n. 1
0
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (!ShouldPlaySound())
     {
         return;
     }
     if (jumpSound)
     {
         sound.Play(buffers.Jump, this);
     }
     if (tiunSound)
     {
         sound.Play(buffers.Tiun, this);
     }
     if (coinSound)
     {
         sound.Play(buffers.Coin, this);
         if (Game.NumCoins > 0)
         {
             sound.Play(buffers.Hyakuyen, this);
         }
         else
         {
             sound.Play(buffers.Stiana, this);
         }
     }
 }
Esempio n. 2
0
File: Box.cs Progetto: sinshu/mafia
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (!ShouldPlaySound())
     {
         return;
     }
     if (MoveCount == 1)
     {
         sound.Play(buffers.BoxMove, this);
     }
     if (LandState == ON_GROUND && prevLandState == IN_AIR)
     {
         sound.Play(buffers.BoxFall, this);
     }
 }
Esempio n. 3
0
 public void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (selectSound)
     {
         sound.Play(buffers.Ue, null);
     }
 }
Esempio n. 4
0
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (fallSound)
     {
         sound.Play(buffers.Fall, this);
     }
 }
Esempio n. 5
0
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (animation == 8)
     {
         sound.Play(buffers.Spring, this);
     }
 }
Esempio n. 6
0
 public void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (selectSound)
     {
         sound.Play(buffers.Ue, null);
     }
 }
Esempio n. 7
0
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (!ShouldPlaySound()) return;
     if (pressSound)
     {
         sound.Play(buffers.Switch, this);
     }
 }
Esempio n. 8
0
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (!ShouldPlaySound())
     {
         return;
     }
     if (pressSound)
     {
         sound.Play(buffers.Switch, this);
     }
 }
Esempio n. 9
0
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (!ShouldPlaySound())
     {
         return;
     }
     if (moveCount == 0)
     {
         sound.Play(buffers.Lift, this);
     }
 }
Esempio n. 10
0
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (animation == 8)
     {
         sound.Play(buffers.Spring, this);
     }
 }
Esempio n. 11
0
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (fallSound)
     {
         sound.Play(buffers.Fall, this);
     }
 }
Esempio n. 12
0
File: Box.cs Progetto: sinshu/mafia
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (!ShouldPlaySound()) return;
     if (MoveCount == 1)
     {
         sound.Play(buffers.BoxMove, this);
     }
     if (LandState == ON_GROUND && prevLandState == IN_AIR)
     {
         sound.Play(buffers.BoxFall, this);
     }
 }
Esempio n. 13
0
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (!ShouldPlaySound()) return;
     if (jumpSound)
     {
         sound.Play(buffers.Jump, this);
     }
     if (tiunSound)
     {
         sound.Play(buffers.Tiun, this);
     }
     if (coinSound)
     {
         sound.Play(buffers.Coin, this);
         if (Game.NumCoins > 0)
         {
             sound.Play(buffers.Hyakuyen, this);
         }
         else
         {
             sound.Play(buffers.Stiana, this);
         }
     }
 }
Esempio n. 14
0
File: Lift.cs Progetto: sinshu/mafia
 public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers)
 {
     if (!ShouldPlaySound()) return;
     if (moveCount == 0)
     {
         sound.Play(buffers.Lift, this);
     }
 }