@vpmedia/phaser 1.0.38 → 1.0.39

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vpmedia/phaser",
3
- "version": "1.0.38",
3
+ "version": "1.0.39",
4
4
  "description": "@vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2",
5
5
  "author": "Andras Csizmadia <andras@vpmedia.hu> (www.vpmedia.hu)",
6
6
  "license": "MIT",
@@ -51,9 +51,6 @@ export default class {
51
51
  this.device = new Device();
52
52
  this.canvas = null;
53
53
  this.context = null;
54
- this.isStepping = false;
55
- this.isPendingStep = false;
56
- this.stepCount = 0;
57
54
  this.onPause = new Signal();
58
55
  this.onResume = new Signal();
59
56
  this.onBoot = new Signal();
@@ -303,10 +300,7 @@ export default class {
303
300
  }
304
301
 
305
302
  updateLogic(timeStep) {
306
- if (!this.isPaused && !this.isPendingStep) {
307
- if (this.isStepping) {
308
- this.isPendingStep = true;
309
- }
303
+ if (!this.isPaused) {
310
304
  this.scale.preUpdate();
311
305
  this.state.preUpdate(timeStep);
312
306
  this.stage.preUpdate();
@@ -330,22 +324,6 @@ export default class {
330
324
  this.state.render(elapsedTime);
331
325
  }
332
326
 
333
- enableStep() {
334
- this.isStepping = true;
335
- this.isPendingStep = false;
336
- this.stepCount = 0;
337
- }
338
-
339
- disableStep() {
340
- this.isStepping = false;
341
- this.isPendingStep = false;
342
- }
343
-
344
- step() {
345
- this.isPendingStep = false;
346
- this.stepCount += 1;
347
- }
348
-
349
327
  destroy() {
350
328
  this.isPaused = true;
351
329