Position edits (#7)
* Moving annotations for vector classes and positions: `core_namespace.lua` -> `classes/vector.lua`. Rethinking position annotations * Replacing float positions with integer positions where required (voxel manipulator, node coordinates, etc.). Adding missing annotations to the position parameters of core methods * Fix position annotations in noises classes * remove alias `MapPosition2d` * Review fixes
This commit is contained in:
@@ -57,6 +57,6 @@ local ABMDefinition = {
|
||||
--- mapblock plus all 26 neighboring mapblocks. If any neighboring
|
||||
--- mapblocks are unloaded an estimate is calculated for them based on
|
||||
--- loaded mapblocks.
|
||||
--- @type fun(pos:Position, node:NodeTable, active_object_count:number, active_object_count_wider:number)
|
||||
--- @type fun(pos:MapPosition, node:NodeTable, active_object_count:number, active_object_count_wider:number)
|
||||
action = function(pos, node, active_object_count, active_object_count_wider) end,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user