public void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { if (selectSound) { sound.Play(buffers.Ue, null); } }
public void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { if (selectSound) { sound.Play(buffers.Ue, null); } }
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); } } }
public void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { foreach (Thing thing in list) { thing.PlaySound(sound, buffers); } }
public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { if (fallSound) { sound.Play(buffers.Fall, this); } }
public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { if (animation == 8) { sound.Play(buffers.Spring, this); } }
public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { if (animation == 8) { sound.Play(buffers.Spring, this); } }
public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { if (!ShouldPlaySound()) return; if (pressSound) { sound.Play(buffers.Switch, this); } }
public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { if (!ShouldPlaySound()) { return; } if (pressSound) { sound.Play(buffers.Switch, this); } }
public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { if (!ShouldPlaySound()) { return; } if (moveCount == 0) { sound.Play(buffers.Lift, this); } }
public void Dispose() { StopSounds(); if (buffers != null) { buffers.Dispose(); buffers = null; } if (device != null) { device.Dispose(); device = null; } }
public void Dispose() { StopSounds(); if (buffers != null) { buffers.Dispose(); buffers = null; } if (device != null) { device.Dispose(); device = null; } }
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); } }
public MafiaSound(Form form) { try { device = new Device(); } catch { return; } device.SetCooperativeLevel(form, CooperativeLevel.Priority); buffers = new MafiaBufferContainer(device); channels = new GameSoundChannel[MAX_NUM_CHANNELS]; numChannels = 0; ticks = 0; }
public MafiaSound(Form form) { try { device = new Device(); } catch { return; } device.SetCooperativeLevel(form, CooperativeLevel.Priority); buffers = new MafiaBufferContainer(device); channels = new GameSoundChannel[MAX_NUM_CHANNELS]; numChannels = 0; ticks = 0; }
public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { if (!ShouldPlaySound()) return; if (moveCount == 0) { sound.Play(buffers.Lift, this); } }
public void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { things.PlaySound(sound, buffers); }
public void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { things.PlaySound(sound, buffers); }
public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { if (fallSound) { sound.Play(buffers.Fall, this); } }
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); } } }
public abstract void PlaySound(MafiaSound sound, MafiaBufferContainer buffers);
public void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { foreach (Thing thing in list) { thing.PlaySound(sound, buffers); } }
public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { }
public abstract void PlaySound(MafiaSound sound, MafiaBufferContainer buffers);
public override void PlaySound(MafiaSound sound, MafiaBufferContainer buffers) { }
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); } }