#118 created constructors for basic types

This commit is contained in:
Mikayla Fischler
2023-02-14 15:15:34 -05:00
parent 9d5a55bf58
commit 8ebdf2686b
11 changed files with 58 additions and 26 deletions

View File

@@ -62,8 +62,8 @@ function imatrix.new(session_id, unit_id, advert, out_queue)
length = 0,
width = 0,
height = 0,
min_pos = { x = 0, y = 0, z = 0 }, ---@type coordinate
max_pos = { x = 0, y = 0, z = 0 }, ---@type coordinate
min_pos = types.new_zero_coordinate(),
max_pos = types.new_zero_coordinate(),
max_energy = 0,
transfer_cap = 0,
cells = 0,