@woosh/meep-engine 2.91.4 → 2.91.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "description": "Fully featured ECS game engine written in JavaScript",
6
6
  "type": "module",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.91.4",
8
+ "version": "2.91.6",
9
9
  "main": "build/meep.module.js",
10
10
  "module": "build/meep.module.js",
11
11
  "exports": {
@@ -9,8 +9,11 @@ export class TableRecord<T extends IBinarySchema> {
9
9
 
10
10
  readonly table_schema: RowFirstTableSpec
11
11
 
12
- get value(): { [prop in keyof T]: number }
13
- set value(v: Partial<{ [prop in keyof T]: string }> | { [prop in keyof T]: number })
12
+ value: Partial<{ [prop in keyof T]: string }>
13
+
14
+ get(): { [prop in keyof T]: string }
15
+
16
+ set(v: Partial<{ [prop in keyof T]: string }>): void
14
17
 
15
18
  bind(table: RowFirstTable, row_index: number): void
16
19
 
@@ -1 +1 @@
1
- {"version":3,"file":"TableRecord.d.ts","sourceRoot":"","sources":["../../../../../../src/core/collection/table/bind/TableRecord.js"],"names":[],"mappings":"AAGA;IAsDI;;;OAGG;IACH,yBAUC;IApBD,qBAIC;IARD,kBAEC;IAwBD,sCAEC;IAED;;;;OAIG;IACH,sCAFW,MAAM,QAKhB;;CACJ;kCArFiC,yBAAyB"}
1
+ {"version":3,"file":"TableRecord.d.ts","sourceRoot":"","sources":["../../../../../../src/core/collection/table/bind/TableRecord.js"],"names":[],"mappings":"AAGA;IA+DI;;;OAGG;IACH,yBAUC;IA7BD,qBAEC;IAND,kBAEC;IAOD,uBAIC;IAED,YAEC;IAkBD,sCAEC;IAED;;;;OAIG;IACH,sCAFW,MAAM,QAKhB;;CACJ;kCA9FiC,yBAAyB"}
@@ -50,11 +50,20 @@ export class TableRecord {
50
50
  }
51
51
 
52
52
  set value(object) {
53
+ this.set(object)
54
+ }
55
+
56
+
57
+ set(object) {
53
58
  for (const key in object) {
54
59
  this.#value[key] = object[key];
55
60
  }
56
61
  }
57
62
 
63
+ get() {
64
+ return this.#value;
65
+ }
66
+
58
67
  /**
59
68
  *
60
69
  * @param {Object} schema