Search
Preparing search index...
The search index is not available
@akashic/akashic-engine
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"lib/main.d"
g
MusicAudioSystem
Class MusicAudioSystem
Hierarchy
AudioSystem
MusicAudioSystem
Index
Constructors
constructor
Properties
_destroy
Requested
Assets
_muted
_playback
Rate
_player
_suppressing
Audio
_volume
game
id
player
volume
Methods
_on
Muted
Changed
_on
Playback
Rate
Changed
_on
Player
Played
_on
Player
Stopped
_on
Unsupported
Playback
Rate
Changed
_on
Volume
Changed
_reset
_set
Muted
_set
Playback
Rate
create
Player
find
Players
request
Destroy
stop
All
Constructors
constructor
new
Music
Audio
System
(
id
:
string
, game
:
Game
)
:
MusicAudioSystem
Parameters
id:
string
game:
Game
Returns
MusicAudioSystem
Properties
Private
_destroy
Requested
Assets
_destroy
Requested
Assets
:
object
Type declaration
[
key:
string
]:
Asset
Private
_muted
_muted
:
boolean
Private
_playback
Rate
_playback
Rate
:
number
Private
_player
_player
:
AudioPlayer
Private
_suppressing
Audio
_suppressing
Audio
:
AudioAsset
Private
_volume
_volume
:
number
game
game
:
Game
id
id
:
string
player
player
:
AudioPlayer
volume
volume
:
number
Methods
Private
_on
Muted
Changed
_on
Muted
Changed
(
)
:
void
Returns
void
Private
_on
Playback
Rate
Changed
_on
Playback
Rate
Changed
(
)
:
void
Returns
void
Private
_on
Player
Played
_on
Player
Played
(
e
:
AudioPlayerEvent
)
:
void
Parameters
e:
AudioPlayerEvent
Returns
void
Private
_on
Player
Stopped
_on
Player
Stopped
(
e
:
AudioPlayerEvent
)
:
void
Parameters
e:
AudioPlayerEvent
Returns
void
Private
_on
Unsupported
Playback
Rate
Changed
_on
Unsupported
Playback
Rate
Changed
(
)
:
void
Returns
void
Private
_on
Volume
Changed
_on
Volume
Changed
(
)
:
void
Returns
void
Private
_reset
_reset
(
)
:
void
Returns
void
Private
_set
Muted
_set
Muted
(
value
:
boolean
)
:
void
Parameters
value:
boolean
Returns
void
Private
_set
Playback
Rate
_set
Playback
Rate
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
create
Player
create
Player
(
)
:
AudioPlayer
Returns
AudioPlayer
find
Players
find
Players
(
asset
:
AudioAsset
)
:
AudioPlayer
[]
Parameters
asset:
AudioAsset
Returns
AudioPlayer
[]
request
Destroy
request
Destroy
(
asset
:
Asset
)
:
void
Parameters
asset:
Asset
Returns
void
stop
All
stop
All
(
)
:
void
Returns
void
Globals
Music
Audio
System
constructor
_destroy
Requested
Assets
_muted
_playback
Rate
_player
_suppressing
Audio
_volume
game
id
player
volume
_on
Muted
Changed
_on
Playback
Rate
Changed
_on
Player
Played
_on
Player
Stopped
_on
Unsupported
Playback
Rate
Changed
_on
Volume
Changed
_reset
_set
Muted
_set
Playback
Rate
create
Player
find
Players
request
Destroy
stop
All
Generated using
TypeDoc