From 2bb90d538f50c1b630fc7c74bf4a6b208a9ede74 Mon Sep 17 00:00:00 2001 From: Rex Date: Sun, 22 Dec 2024 09:34:10 +0800 Subject: [PATCH] Add helper method --- templates/bejeweled/methods/WaitEventMethods.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/bejeweled/methods/WaitEventMethods.js b/templates/bejeweled/methods/WaitEventMethods.js index 58d5610c8c..a721cf1ed3 100644 --- a/templates/bejeweled/methods/WaitEventMethods.js +++ b/templates/bejeweled/methods/WaitEventMethods.js @@ -7,6 +7,10 @@ export default { return this; }, + waitCallback() { + return this.waitEvents.waitCallback(); + }, + isWaitingEvent() { return !this.waitEvents.noWaitEvent; },