C# Class MiningGame.Code.Managers.MusicManager

Inheritance: Manager
显示文件 Open project: geel9/Minor-Destruction

Public Properties

Property Type Description
SongName string
Sound SFML.Audio.Sound

Public Methods

Method Description
MusicManager ( ) : System
Pause ( ) : void
Play ( ) : void
SetPlayingOffset ( float offset ) : void
SetSong ( string key ) : void
Stop ( ) : void
Update ( GameTime time ) : void

Method Details

MusicManager() public method

public MusicManager ( ) : System
return System

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : void
return void

SetPlayingOffset() public method

public SetPlayingOffset ( float offset ) : void
offset float
return void

SetSong() public method

public SetSong ( string key ) : void
key string
return void

Stop() public method

public Stop ( ) : void
return void

Update() public method

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
return void

Property Details

SongName public_oe property

public string SongName
return string

Sound public_oe property

public Sound,SFML.Audio Sound
return SFML.Audio.Sound