ldoc return fixes
This commit is contained in:
@@ -128,9 +128,10 @@ end
|
||||
--- @param beats.2 string Arrow direction ("left", "down", "up", or "right").
|
||||
--- @param bpm number Beats per minute.
|
||||
--- @param[opt] fps number Frames per second (default: 60).
|
||||
--- @return result table The generated pattern, an array of arrow spawn entries.
|
||||
--- @return result.frame number The frame number when the arrow should spawn.
|
||||
--- @return result.dir string Arrow direction ("left", "down", "up", or "right").
|
||||
--- @return result table The generated pattern or nil. </br>
|
||||
--- Fields: </br>
|
||||
--- * frame (number) The frame number when the arrow should spawn.<br/>
|
||||
--- * dir (string) Arrow direction ("left", "down", "up", or "right").<br/>
|
||||
function beats_to_pattern(beats, bpm, fps)
|
||||
fps = fps or 60
|
||||
local pattern = {}
|
||||
|
||||
Reference in New Issue
Block a user