From a46fef8d4bc9c2f5e257c9a30a67a66e286afa68 Mon Sep 17 00:00:00 2001 From: esterTion Date: Sat, 27 Mar 2021 23:15:12 +0800 Subject: [PATCH] document types --- main.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 87b60db..9f467c4 100644 --- a/main.js +++ b/main.js @@ -5,7 +5,20 @@ let maxR /** @type {CanvasRenderingContext2D} */ const ctx = canvas.getContext('2d'); /** - * 1: tap + * 1: touch + * 2: bonus touch + * 3: snap inward + * 4: snap outward + * 5: flick left + * 6: flick left with circle effect + * 7: flick right + * 8: flick right with circle effect + * 9: hold start + * 10: hold step + * 11: hold end + * 12: lane effect + * 13: lane effect + * 16: chain */ let noteList = []; /**