Class HoldableObject

A holdable object.

Hierarchy

  • HitObject
    • HoldableObject

Implements

  • IHoldableObject

Constructors

Properties

Accessors

Methods

Constructors

Properties

endTime: number = 0

The time at which the holdable object ends.

nodeSamples: HitSample[][] = []

The samples to be played when each node of the holdable object is hit. 0: The first node. 1: The first repeat. 2: The second repeat. ... n-1: The last repeat. n: The last node.

Accessors

  • get duration(): number
  • The duration of the holdable object.

    Returns number

Methods

  • Creates a copy of this holdable object. Non-primitive properties will be copied via their own clone() method.

    Returns this

    A copied holdable object.