mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 12:27:51 +00:00
[LuaDoc] Document the third element of the location triple returned from paths.find_reach
This commit is contained in:
parent
f9c7336f1a
commit
265aea7da4
@ -42,10 +42,13 @@ function wesnoth.paths.find_vacant_hex(loc, unit) end
|
||||
---@field ignore_teleport? boolean
|
||||
---@field viewing_side? integer
|
||||
|
||||
---@class reachable_location : location
|
||||
---@field moves_left integer
|
||||
|
||||
---Get all locations a unit can reach
|
||||
---@param unit unit
|
||||
---@param options? reach_options
|
||||
---@return location[]
|
||||
---@return reachable_location[]
|
||||
function wesnoth.paths.find_reach(unit, options) end
|
||||
|
||||
---Get all locations a unit can see
|
||||
|
Loading…
x
Reference in New Issue
Block a user