-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDifficultyIcon.lua
More file actions
28 lines (22 loc) · 927 Bytes
/
Copy pathDifficultyIcon.lua
File metadata and controls
28 lines (22 loc) · 927 Bytes
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
---@meta
---@diagnostic disable: redundant-parameter
---@class DifficultyIcon : Sprite
---@overload fun(self: DifficultyIcon): self
---@field [string] fun(self: DifficultyIcon)
DifficultyIcon = {}
--- Sets the DifficultyIcon's state from the difficulty passed in.
---@param dc Difficulty
function DifficultyIcon:SetFromDifficulty(dc) end
--- Sets the DifficultyIcon's Player to `pn`, then sets the DifficultyIcon's state
--- from the difficulty of Steps `pSteps`.
---@param pSteps Steps
function DifficultyIcon:SetFromSteps(pSteps) end
--- Sets the DifficultyIcon's Player to `PLAYER_1`, then sets the DifficultyIcon's
--- state from the difficulty of Trail `pTrail`.
---@param pTrail Trail
function DifficultyIcon:SetFromTrail(pTrail) end
--- Sets the DifficultyIcon's Player to `pn`.
---@param pn PlayerNumber
function DifficultyIcon:SetPlayer(pn) end
--- Blanks the DifficultyIcon.
function DifficultyIcon:Unset() end