Skip to content

Commit

Permalink
docs: hidden functions in example laucnher
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoDornelles committed Jul 31, 2024
1 parent a99adb2 commit 26c28cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/launcher/game.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
--! 9 --> [*]
--! @enduml

--! @cond
local function next_state(game, new_state)
if game._state ~= new_state then
print(game._state, new_state)
Expand Down Expand Up @@ -66,6 +67,7 @@ local function halt_state(game)
end
end
end
--! @endcond

local function init(std, game)
if not game._state then
Expand Down

0 comments on commit 26c28cf

Please sign in to comment.