@newkrok/nape-js 3.4.0 → 3.4.2

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/dist/index.d.cts CHANGED
@@ -1876,6 +1876,10 @@ declare class ZPP_Body {
1876
1876
  isCompound: () => boolean;
1877
1877
  static _initialized: boolean;
1878
1878
  static _init(zpp: Any$M, nape: Any$M): void;
1879
+ /**
1880
+ * Initialize BodyType singleton enums. Called once from compiled factory.
1881
+ */
1882
+ static _initEnums(nape: Any$M, ZPP_Flags: Any$M): void;
1879
1883
  }
1880
1884
 
1881
1885
  type Any$L = any;
@@ -2961,6 +2965,10 @@ declare class ZPP_Arbiter {
2961
2965
  static FLUID: number;
2962
2966
  static SENSOR: number;
2963
2967
  static types: Any$A[];
2968
+ /**
2969
+ * Initialize ArbiterType singleton enums. Called once from compiled factory.
2970
+ */
2971
+ static _initEnums(nape: Any$A, ZPP_Flags: Any$A): void;
2964
2972
  outer: Any$A;
2965
2973
  hnext: ZPP_Arbiter | null;
2966
2974
  id: number;
@@ -3238,6 +3246,14 @@ type Any$v = any;
3238
3246
  declare class ZPP_CbType {
3239
3247
  static __name__: string[];
3240
3248
  static _zpp: Any$v;
3249
+ static ANY_SHAPE: Any$v;
3250
+ static ANY_BODY: Any$v;
3251
+ static ANY_COMPOUND: Any$v;
3252
+ static ANY_CONSTRAINT: Any$v;
3253
+ /**
3254
+ * Initialize ANY_* singleton CbTypes. Called once from compiled factory.
3255
+ */
3256
+ static _initEnums(nape: Any$v): void;
3241
3257
  outer: Any$v;
3242
3258
  userData: Any$v;
3243
3259
  id: number;
@@ -3439,6 +3455,11 @@ declare class ZPP_Listener {
3439
3455
  invalidate_precedence(): void;
3440
3456
  addedToSpace(): void;
3441
3457
  removedFromSpace(): void;
3458
+ /**
3459
+ * Initialize singleton enum arrays. Called once from compiled factory after
3460
+ * nape.callbacks.ListenerType and nape.callbacks.CbEvent stubs exist.
3461
+ */
3462
+ static _initEnums(nape: Any$r, ZPP_Flags: Any$r): void;
3442
3463
  }
3443
3464
 
3444
3465
  /**
@@ -3578,6 +3599,10 @@ declare class ZPP_InteractionListener extends ZPP_Listener {
3578
3599
  swapEvent(newev: number): void;
3579
3600
  private _allocCbSetNode;
3580
3601
  private _allocCbTypeNode;
3602
+ /**
3603
+ * Initialize static working lists. Called once from compiled factory.
3604
+ */
3605
+ static _initStatics(zpp_nape: Any$n): void;
3581
3606
  }
3582
3607
 
3583
3608
  /**
package/dist/index.d.ts CHANGED
@@ -1876,6 +1876,10 @@ declare class ZPP_Body {
1876
1876
  isCompound: () => boolean;
1877
1877
  static _initialized: boolean;
1878
1878
  static _init(zpp: Any$M, nape: Any$M): void;
1879
+ /**
1880
+ * Initialize BodyType singleton enums. Called once from compiled factory.
1881
+ */
1882
+ static _initEnums(nape: Any$M, ZPP_Flags: Any$M): void;
1879
1883
  }
1880
1884
 
1881
1885
  type Any$L = any;
@@ -2961,6 +2965,10 @@ declare class ZPP_Arbiter {
2961
2965
  static FLUID: number;
2962
2966
  static SENSOR: number;
2963
2967
  static types: Any$A[];
2968
+ /**
2969
+ * Initialize ArbiterType singleton enums. Called once from compiled factory.
2970
+ */
2971
+ static _initEnums(nape: Any$A, ZPP_Flags: Any$A): void;
2964
2972
  outer: Any$A;
2965
2973
  hnext: ZPP_Arbiter | null;
2966
2974
  id: number;
@@ -3238,6 +3246,14 @@ type Any$v = any;
3238
3246
  declare class ZPP_CbType {
3239
3247
  static __name__: string[];
3240
3248
  static _zpp: Any$v;
3249
+ static ANY_SHAPE: Any$v;
3250
+ static ANY_BODY: Any$v;
3251
+ static ANY_COMPOUND: Any$v;
3252
+ static ANY_CONSTRAINT: Any$v;
3253
+ /**
3254
+ * Initialize ANY_* singleton CbTypes. Called once from compiled factory.
3255
+ */
3256
+ static _initEnums(nape: Any$v): void;
3241
3257
  outer: Any$v;
3242
3258
  userData: Any$v;
3243
3259
  id: number;
@@ -3439,6 +3455,11 @@ declare class ZPP_Listener {
3439
3455
  invalidate_precedence(): void;
3440
3456
  addedToSpace(): void;
3441
3457
  removedFromSpace(): void;
3458
+ /**
3459
+ * Initialize singleton enum arrays. Called once from compiled factory after
3460
+ * nape.callbacks.ListenerType and nape.callbacks.CbEvent stubs exist.
3461
+ */
3462
+ static _initEnums(nape: Any$r, ZPP_Flags: Any$r): void;
3442
3463
  }
3443
3464
 
3444
3465
  /**
@@ -3578,6 +3599,10 @@ declare class ZPP_InteractionListener extends ZPP_Listener {
3578
3599
  swapEvent(newev: number): void;
3579
3600
  private _allocCbSetNode;
3580
3601
  private _allocCbTypeNode;
3602
+ /**
3603
+ * Initialize static working lists. Called once from compiled factory.
3604
+ */
3605
+ static _initStatics(zpp_nape: Any$n): void;
3581
3606
  }
3582
3607
 
3583
3608
  /**