generated from Byte-Labs-Studio/bl_svelte_template
-
-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy path_types.lua
More file actions
30 lines (23 loc) · 1.18 KB
/
_types.lua
File metadata and controls
30 lines (23 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---@alias MainFunctionConfig DifficultyConfig | KeyDifficultyConfig | LengthConfig | LevelConfig | GridConfig | NodeConfig
---@class DifficultyConfig
---@field difficulty number The difficulty of the game (1-100)
---@class KeyDifficultyConfig
---@field difficulty number The difficulty of the game (1-100)
---@field numberOfKeys number The amount of keys to press
---@class LengthConfig
---@field length number The length of the circle's cuts
---@field duration number duration before game closes
---@class InputConfig : LengthConfig
---@field code? string[] Required if length is not defined
---@field length? number Required if code is not defined
---@class LevelConfig
---@field level number The length of the circle's cuts
---@field duration number duration before game closes
---@class GridConfig
---@field grid number The length of the circle's cuts
---@field duration number duration before game closes
---@field target number duration before game closes
---@class NodeConfig
---@field numberOfNodes number The length of the circle's cuts
---@field duration number duration before game closes
---@field previewDuration? number for mineSweeper: preview duration (time for red mines preview to hide)