diff --git a/classes/ObjectRef/Player.lua b/classes/ObjectRef/Player.lua index e073f89..fc771a1 100644 --- a/classes/ObjectRef/Player.lua +++ b/classes/ObjectRef/Player.lua @@ -243,7 +243,7 @@ function Player:set_physics_override(override_table) end function Player:get_physics_override() end --- Add a HUD element described by HUD def, returns ID number on success. ---- @param hud_definition HudDefinition +--- @param hud_definition HUDDefinition --- @return integer function Player:hud_add(hud_definition) end @@ -259,7 +259,7 @@ function Player:hud_change(id, stat, value) end --- Gets the HUD element definition structure of the specified ID. --- @param id integer ---- @return HudDefinition +--- @return HUDDefinition function Player:hud_get(id) end --- @class Player.hud_flags diff --git a/definitions/HUDDefinition.lua b/definitions/HUDDefinition.lua index bb20d4f..5f867d1 100644 --- a/definitions/HUDDefinition.lua +++ b/definitions/HUDDefinition.lua @@ -1,8 +1,8 @@ --- @meta ---- @class HudDefinition -local HudDefinition = { +--- @class HUDDefinition +local HUDDefinition = { --- Name of the HUD element. --- --- The `name` field is not yet used, but should contain a description of what the HUD element represents.