C# Class MarioObjects.Media

Show file Open project: jazzyjester/Mario-Game

Public Properties

Property Type Description
SOUND_ENABLE System.Boolean
instance Media

Public Methods

Method Description
Destroy ( ) : void
GetSound ( SoundType type ) : FMOD.Sound
LoadFromResource ( ) : void
Media ( ) : System
PlayInnerSound ( SoundType type ) : void
PlaySound ( SoundType type ) : void
UpdateSound ( string name, FMOD &s, System.Boolean Loop ) : void

Private Methods

Method Description
ERRCHECK ( FMOD result ) : void

Method Details

Destroy() public method

public Destroy ( ) : void
return void

GetSound() public method

public GetSound ( SoundType type ) : FMOD.Sound
type SoundType
return FMOD.Sound

LoadFromResource() public method

public LoadFromResource ( ) : void
return void

Media() public method

public Media ( ) : System
return System

PlayInnerSound() public method

public PlayInnerSound ( SoundType type ) : void
type SoundType
return void

PlaySound() public static method

public static PlaySound ( SoundType type ) : void
type SoundType
return void

UpdateSound() public method

public UpdateSound ( string name, FMOD &s, System.Boolean Loop ) : void
name string
s FMOD
Loop System.Boolean
return void

Property Details

SOUND_ENABLE public static property

public static Boolean,System SOUND_ENABLE
return System.Boolean

instance public static property

public static Media,MarioObjects instance
return Media