Plays Baltie's animation sound (Baltie2DSound).

Namespace:  SGP.Baltie2D
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public void PlaySound(
	Baltie2DSound sound,
	bool force
)

Parameters

sound
Type: SGP.Baltie2D..::.Baltie2DSound
Baltie's sound.
force
Type: System..::.Boolean
Forces the playback.

Remarks

When the playback is not forced (force==trueTruetruetrue (True in Visual Basic)), plays the sound only if Baltie is visible (Visible) and sounds are enabled (SoundsEnabled), or sounds are enabled even if Baltie is invisible (SoundsEnabledIfNotVisible). The sound is also not played, when Baltie is superspeedy (IsSuperSpeedy).

See Also