From 78e3c0a00377c9831088e1d4abe5759c4f3b7ecc Mon Sep 17 00:00:00 2001 From: Sohom Sahaun Date: Wed, 26 Oct 2022 18:26:07 +0600 Subject: [PATCH] Update JSDoc --- scripts/SnowState/SnowState.gml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/SnowState/SnowState.gml b/scripts/SnowState/SnowState.gml index d68aee4..0441425 100644 --- a/scripts/SnowState/SnowState.gml +++ b/scripts/SnowState/SnowState.gml @@ -852,12 +852,14 @@ function SnowState(_initState, _execEnter = true) constructor { return __states[$ _state][$ _event].exists; }; + /// @param {struct} [data] /// @returns {SnowState} self enter = function(_data = undefined) { __execute("enter", undefined, _data); return self; }; + /// @param {struct} [data] /// @returns {SnowState} self leave = function(_data = undefined) { __execute("leave", undefined, _data);