dot big bang

Developer API
Menu

Class SoundcloudComponent

All
  • Public
  • Public/Protected
  • All
deprecated

SoundcloudComponent is deprecated

Hierarchy

Index

Constructors

Properties

Accessors

Constructors

constructor

Properties

Readonly id

id: string

The 36-character identifier string of the Component. The id is unique within the Entity is belongs to. Currently, the same id may be used by another Component on a different Entity.

trackID

trackID: string
deprecated

SoundcloudComponent is deprecated

Readonly type

The type of the Component.

volume

volume: number
deprecated

SoundcloudComponent is deprecated

Accessors

entity

  • Gets the Entity the Component is part of. This throws an exception if the Component is not in an Entity. Use the isInEntity property to test for that.

    Returns Entity

game

  • Gets the Game the Component is part of (via the Entity it belongs to). This throws an exception if the Component is not in the game. Use the isInGame property to test for that.

    Returns Game<{ saveData: SaveData<any, any> }>

isInEntity

  • get isInEntity(): boolean
  • Returns true if the Component is part of an Entity.

    Returns boolean

isInGame

  • get isInGame(): boolean
  • Returns true if the Component is part of the Game (via the Entity it belongs to).

    Returns boolean