Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Audio.SoundStyle Class Referenceabstract

Public Member Functions

 SoundStyle (float volume, float pitchVariance, SoundType type=SoundType.Sound)
 
 SoundStyle (SoundType type=SoundType.Sound)
 
float GetRandomPitch ()
 
SoundEffect GetRandomSound ()
 

Properties

float Volume [get]
 
float PitchVariance [get]
 
SoundType Type [get]
 
bool IsTrackable [get]
 

Private Attributes

float _volume
 
float _pitchVariance
 
SoundType _type
 

Static Private Attributes

static UnifiedRandom _random = new UnifiedRandom()
 

Detailed Description

Definition at line 6 of file SoundStyle.cs.


The documentation for this class was generated from the following file: