Class AudioLayer.PlayerArgs
Event arguments for fading in a BackgroundAudio.Player
Namespace: OmiyaGames.Audio
Assembly: cs.temp.dll.dll
Syntax
public class PlayerArgs : EventArgs
Constructors
PlayerArgs()
Constructs a null argument.
Declaration
public PlayerArgs()
PlayerArgs(BackgroundAudio.Player, AudioLayer.PlayerArgs.PlayerState)
Constructs a new argument instance.
Declaration
public PlayerArgs(BackgroundAudio.Player player, AudioLayer.PlayerArgs.PlayerState state)
Parameters
Type | Name | Description |
---|---|---|
BackgroundAudio.Player | player | Sets Player property. |
AudioLayer.PlayerArgs.PlayerState | state | Sets State property. |
Properties
Player
Gets the selected BackgroundAudio.Player.
Declaration
public BackgroundAudio.Player Player { get; }
Property Value
Type | Description |
---|---|
BackgroundAudio.Player |
State
Gets the reason Player was selected.
Declaration
public AudioLayer.PlayerArgs.PlayerState State { get; }
Property Value
Type | Description |
---|---|
AudioLayer.PlayerArgs.PlayerState |