Skip to content

Commit bcfc2da

Browse files
committed
Rebuilt distributables.
1 parent f701b7a commit bcfc2da

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

dist/build.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2626,9 +2626,15 @@ const y = class y extends A {
26262626
this.__onMouseMove.bind(this)
26272627
), e.inputManager.addEventListener("click", this.__onClick.bind(this)), this.__inputMode = "keyboard";
26282628
}
2629+
/**
2630+
* Get the menu items instantiated in this `Menu`.
2631+
*/
26292632
get items() {
26302633
return this.__rawItems;
26312634
}
2635+
/**
2636+
* Set the menu items instantiated in this `Menu`.
2637+
*/
26322638
set items(e) {
26332639
for (const t of e) {
26342640
if (!(t instanceof y.Item))
@@ -2639,9 +2645,15 @@ const y = class y extends A {
26392645
}
26402646
this.__rawItems = e;
26412647
}
2648+
/**
2649+
* Get the index of the active gamepad.
2650+
*/
26422651
get gamepad() {
26432652
return this.__rawGamepad;
26442653
}
2654+
/**
2655+
* Set the index of the gamepad whose inputs should be listened to.
2656+
*/
26452657
set gamepad(e) {
26462658
if (typeof e != "number") {
26472659
this.__rawGamepad = void 0, this.scene.inputManager.removeEventListener(
@@ -2659,9 +2671,15 @@ const y = class y extends A {
26592671
this.__handleGamepadButtonPressed.bind(this)
26602672
), this.__rawGamepad = e;
26612673
}
2674+
/**
2675+
* Get the current active index in the menu.
2676+
*/
26622677
get index() {
26632678
return this.__rawIndex;
26642679
}
2680+
/**
2681+
* Set the current active index in the menu.
2682+
*/
26652683
set index(e) {
26662684
if (typeof e != "number" || !Number.isInteger(e))
26672685
throw new TypeError("Menu index must be an integer.");

0 commit comments

Comments
 (0)