ソースを参照

refactor: function declaration

lairaalmas 2 ヶ月 前
コミット
b8b2eb96c5
1 ファイル変更2 行追加2 行削除
  1. 2 2
      js/games/circleOne.js

+ 2 - 2
js/games/circleOne.js

@@ -622,7 +622,7 @@ const circleOne = {
         )
         )
       );
       );
     },
     },
-    renderOperationUI: () => {
+    renderOperationUI: function () {
       /**
       /**
        * if game mode A:
        * if game mode A:
        * - left: selected balloon position (user selection)
        * - left: selected balloon position (user selection)
@@ -854,7 +854,7 @@ const circleOne = {
 
 
       return endSignX;
       return endSignX;
     },
     },
-    renderEndUI: () => {
+    renderEndUI: function () {
       let btnColor = colors.green;
       let btnColor = colors.green;
       let btnText = game.lang.continue;
       let btnText = game.lang.continue;