react-simple-game-engine 0.3.1 → 0.3.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.
@@ -6,6 +6,7 @@ export declare abstract class AnimationSprite {
6
6
  private timePerFrame;
7
7
  private maxCycle;
8
8
  private cycleCounter;
9
+ get isRunning(): boolean;
9
10
  set isRunning(_isRunning: boolean);
10
11
  abstract initial(params: AnimationInitialParams): void;
11
12
  draw(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../src/classes/animations/animation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,8BAAsB,eAAe;IACnC,SAAS,CAAC,YAAY,EAAE,MAAM,CAAK;IACnC,SAAS,CAAC,UAAU,UAAQ;IAC5B,SAAS,CAAC,WAAW,SAAK;IAE1B,OAAO,CAAC,YAAY,CAAO;IAC3B,OAAO,CAAC,QAAQ,CAAK;IACrB,OAAO,CAAC,YAAY,CAAK;IAEzB,IAAI,SAAS,CAAC,UAAU,EAAE,OAAO,EAQhC;IAED,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI;IAEtD,IAAI;IAwBJ,SAAS,CAAC,QAAQ,CAAC,aAAa,IAAI,OAAO;IAC3C,SAAS,CAAC,QAAQ,CAAC,MAAM,IAAI,IAAI;CAClC"}
1
+ {"version":3,"file":"animation.d.ts","sourceRoot":"","sources":["../../../src/classes/animations/animation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,8BAAsB,eAAe;IACnC,SAAS,CAAC,YAAY,EAAE,MAAM,CAAK;IACnC,SAAS,CAAC,UAAU,UAAQ;IAC5B,SAAS,CAAC,WAAW,SAAK;IAE1B,OAAO,CAAC,YAAY,CAAO;IAC3B,OAAO,CAAC,QAAQ,CAAK;IACrB,OAAO,CAAC,YAAY,CAAK;IAEzB,IAAI,SAAS,IAIa,OAAO,CAFhC;IAED,IAAI,SAAS,CAAC,UAAU,EAAE,OAAO,EAQhC;IAED,QAAQ,CAAC,OAAO,CAAC,MAAM,EAAE,sBAAsB,GAAG,IAAI;IAEtD,IAAI;IAwBJ,SAAS,CAAC,QAAQ,CAAC,aAAa,IAAI,OAAO;IAC3C,SAAS,CAAC,QAAQ,CAAC,MAAM,IAAI,IAAI;CAClC"}
@@ -8,6 +8,9 @@ var AnimationSprite = /** @class */ (function () {
8
8
  this.cycleCounter = 1;
9
9
  }
10
10
  Object.defineProperty(AnimationSprite.prototype, "isRunning", {
11
+ get: function () {
12
+ return this._isRunning;
13
+ },
11
14
  set: function (_isRunning) {
12
15
  this._isRunning = _isRunning;
13
16
  if (!_isRunning) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-simple-game-engine",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib",