C# 클래스 MyPolarBear.Audio.SoundManager

파일 보기 프로젝트 열기: sgdc/sgdc-old 1 사용 예제들

공개 메소드들

메소드 설명
AddMusic ( string name, SoundEffect song, bool isLooped, float volume = 0.1f ) : void
GetSound ( string name ) : SoundEffectInstance
PauseAllMusic ( ) : void
PauseMusic ( string name ) : void
PlayMusic ( string name ) : void
PlaySound ( string name ) : void
SoundManager ( ) : System
StopAllMusic ( ) : void
StopMusic ( string name ) : void

메소드 상세

AddMusic() 공개 정적인 메소드

public static AddMusic ( string name, SoundEffect song, bool isLooped, float volume = 0.1f ) : void
name string
song Microsoft.Xna.Framework.Audio.SoundEffect
isLooped bool
volume float
리턴 void

GetSound() 공개 정적인 메소드

public static GetSound ( string name ) : SoundEffectInstance
name string
리턴 Microsoft.Xna.Framework.Audio.SoundEffectInstance

PauseAllMusic() 공개 정적인 메소드

public static PauseAllMusic ( ) : void
리턴 void

PauseMusic() 공개 정적인 메소드

public static PauseMusic ( string name ) : void
name string
리턴 void

PlayMusic() 공개 정적인 메소드

public static PlayMusic ( string name ) : void
name string
리턴 void

PlaySound() 공개 정적인 메소드

public static PlaySound ( string name ) : void
name string
리턴 void

SoundManager() 공개 메소드

public SoundManager ( ) : System
리턴 System

StopAllMusic() 공개 정적인 메소드

public static StopAllMusic ( ) : void
리턴 void

StopMusic() 공개 정적인 메소드

public static StopMusic ( string name ) : void
name string
리턴 void