Skip to main content

Class: ReferenceUnlock

An unlock which must reference a previous unlock which unlocks also the input at the same index as this Reference Unlock.

Hierarchy​

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new ReferenceUnlock(reference)

Parameters​

NameTypeDescription
referencenumberAn index referencing a previous unlock.

Overrides​

Unlock.constructor

Properties​

type​

• Readonly type: UnlockType

Inherited from​

Unlock.type


reference​

• reference: number

The reference.

Methods​

getType​

▸ getType(): UnlockType

Get the type of unlock.

Returns​

UnlockType

Inherited from​

Unlock.getType