@flashist/flibs 0.0.321 → 0.0.322

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.
@@ -1,13 +1,12 @@
1
- import { FStage, AppProperties, Point } from "../../../index";
1
+ import { FStage, Point } from "../../../index";
2
2
  import { App } from "../App";
3
3
  export declare class FApp extends App {
4
- protected options?: any | AppProperties;
5
4
  private static _instance;
6
5
  stage: FStage;
7
6
  protected fpsLimitterEnabled: boolean;
8
7
  protected lastTimeRendered: number;
9
8
  protected targetRenderInterval: number;
10
- constructor(options?: any | AppProperties);
9
+ constructor();
11
10
  render(force?: boolean): void;
12
11
  getGlobalInteractionPosition(): Point;
13
12
  static get instance(): FApp;
@@ -1,14 +1,9 @@
1
1
  import { Point } from "../../../index";
2
2
  import { App } from "../App";
3
3
  export class FApp extends App {
4
- constructor(options) {
5
- super(options);
6
- this.options = options;
4
+ constructor() {
5
+ super();
7
6
  this.lastTimeRendered = 0;
8
- this.options = options;
9
- if (!this.options) {
10
- this.options = {};
11
- }
12
7
  // if (this.options.targetFps) {
13
8
  // this.fpsLimitterEnabled = true;
14
9
  // this.targetRenderInterval = 1000 / this.options.targetFps;
@@ -16,6 +11,12 @@ export class FApp extends App {
16
11
  FApp._instance = this;
17
12
  // FStage
18
13
  this.stage.isFStage = true;
14
+ // TEST
15
+ const origRender = this.render;
16
+ //
17
+ this.render = () => {
18
+ return origRender;
19
+ };
19
20
  }
20
21
  render(force) {
21
22
  if (!force && this.fpsLimitterEnabled) {
@@ -1 +1 @@
1
- {"version":3,"file":"FApp.js","sourceRoot":"","sources":["../../../../src/display/pixijs/custom/FApp.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,EACR,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,MAAM,OAAO,IAAK,SAAQ,GAAG;IAUzB,YAAsB,OAA6B;QAC/C,KAAK,CAAC,OAAO,CAAC,C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