A class representing the data for an album as displayed in Freeplay.

Constructor

new(id:String, ?params:Dynamic)

Variables

final_data:Null<AlbumData>

finalid:String

Methods

_fetchData(id:String):Null<AlbumData>

destroy():Void

getAlbumArtAssetKey():String

Get the asset key for the album art.

Returns:

The asset key

getAlbumArtGraphic():FlxGraphic

Get the album art as a graphic, ready to apply to a sprite.

Returns:

The built graphic

getAlbumArtists():Array<String>

Return the artists of the album.

Returns:

The list of artists

getAlbumName():String

Return the name of the album. @

getAlbumTitleAssetKey():String

Get the asset key for the album title.

getAlbumTitleOffsets():Null<Array<Float>>

Get the offsets for the album title.

toString():String