Skip to content

Commit

Permalink
Update JSDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
sohomsahaun committed Oct 26, 2022
1 parent 3dfb9f4 commit 78e3c0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/SnowState/SnowState.gml
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 78e3c0a

Please sign in to comment.