Class MusicAsset

Stores music track.

See also:

Functions

MusicAsset.new (data) Creates a new music asset.

Methods

MusicAsset:play (id) Plays a track in a music asset.
MusicAsset:set_as (id) Overrides a builtin track.


Functions

Methods
MusicAsset.new (data)
Creates a new music asset.

Parameters:

Returns:

    MusicAsset The new music

Methods

MusicAsset:play (id)
Plays a track in a music asset.

Parameters:

  • id integer The id of the track to play
MusicAsset:set_as (id)
Overrides a builtin track.

Parameters:

  • id int The id of the track to overrwrite.

See also:

generated by LDoc 1.5.0 Last updated 2024-05-23 11:40:37