Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PlaySound() [4/4]

static SoundEffectInstance Terraria.Audio.SoundEngine.PlaySound ( LegacySoundStyle type,
Vector2 position )
inlinestatic

Definition at line 76 of file SoundEngine.cs.

77 {
78 return PlaySound(type, (int)position.X, (int)position.Y);
79 }
static void PlaySound(int type, Vector2 position, int style=1)

References Terraria.Audio.SoundEngine.PlaySound(), System.type, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.