angry-pixel 2.1.9 → 2.1.11

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/lib/index.d.ts CHANGED
@@ -1920,6 +1920,8 @@ declare class TimeManager {
1920
1920
  get physicsDeltaTime(): number;
1921
1921
  /** The browser delta time affected by time scale. */
1922
1922
  get renderDeltaTime(): number;
1923
+ /** The render delta time unaffected by time scale. */
1924
+ get unscaledRenderDeltaTime(): number;
1923
1925
  constructor({ physicsFramerate }: GameConfig, entityManager: EntityManager);
1924
1926
  /** @internal */
1925
1927
  updateForRender(time: number): void;
@@ -2228,6 +2230,7 @@ interface AnimatorOptions {
2228
2230
  animation: string;
2229
2231
  speed: number;
2230
2232
  playing: boolean;
2233
+ ignoreTimeScale: boolean;
2231
2234
  }
2232
2235
  /**
2233
2236
  * The Animator component manages sprite animations. It holds a map of named animations
@@ -2278,6 +2281,8 @@ declare class Animator {
2278
2281
  currentFrame: number;
2279
2282
  /** The current time of the animation. */
2280
2283
  currentTime: number;
2284
+ /** TRUE If the animation should ignore the time scale, FALSE otherwise. */
2285
+ ignoreTimeScale: boolean;
2281
2286
  /** @internal */
2282
2287
  _currentAnimation: string;
2283
2288
  /** @internal */