@@ -19703,7 +19703,7 @@ var Character = function (_extras$AnimatedSprit) {
19703
19703
19704
19704
var gameTextures = _pixi.loader.resources[spritesheet].textures;
19705
19705
for (var textureKey in gameTextures) {
19706
- if (!gameTextures. hasOwnProperty( textureKey) || textureKey.indexOf(spriteId) === -1) {
19706
+ if (!Object.prototype. hasOwnProperty.call(gameTextures, textureKey) || textureKey.indexOf(spriteId) === -1) {
19707
19707
continue;
19708
19708
}
19709
19709
@@ -19718,7 +19718,7 @@ var Character = function (_extras$AnimatedSprit) {
19718
19718
continue;
19719
19719
}
19720
19720
19721
- if (stateObj. hasOwnProperty( 'textures')) {
19721
+ if (Object.prototype. hasOwnProperty.call(stateObj, 'textures')) {
19722
19722
stateObj.textures.push(gameTextures[textureKey]);
19723
19723
} else {
19724
19724
Object.defineProperty(stateObj, 'textures', {
@@ -19810,7 +19810,7 @@ var Character = function (_extras$AnimatedSprit) {
19810
19810
}
19811
19811
this.textures = stateObj.textures;
19812
19812
this.animationSpeed = stateObj.animationSpeed;
19813
- this.loop = stateObj. hasOwnProperty( 'loop') ? stateObj.loop : true;
19813
+ this.loop = Object.prototype. hasOwnProperty.call(stateObj, 'loop') ? stateObj.loop : true;
19814
19814
this.play();
19815
19815
}
19816
19816
@@ -37241,6 +37241,7 @@ var Game = function () {
37241
37241
});
37242
37242
this.levelIndex = 0;
37243
37243
this.maxScore = 0;
37244
+ this.timePaused = 0;
37244
37245
this.muted = false;
37245
37246
this.paused = false;
37246
37247
this.activeSounds = [];
@@ -37324,7 +37325,7 @@ var Game = function () {
37324
37325
y: 1
37325
37326
}
37326
37327
});
37327
- this.stage.hud.levelCreatorLink = " level creator (c)" ;
37328
+ this.stage.hud.levelCreatorLink = ' level creator (c)' ;
37328
37329
}
37329
37330
}, {
37330
37331
key: 'bindEvents',
@@ -37355,7 +37356,7 @@ var Game = function () {
37355
37356
}
37356
37357
});
37357
37358
37358
- document.addEventListener('fullscreenchange', function (event ) {
37359
+ document.addEventListener('fullscreenchange', function () {
37359
37360
if (document.fullscreenElement) {
37360
37361
_this.stage.hud.fullscreenLink = 'unfullscreen (f)';
37361
37362
} else {
@@ -37663,7 +37664,7 @@ var Game = function () {
37663
37664
37664
37665
if (this.stage && this.stage.hud) {
37665
37666
37666
- if (!this.stage.hud.hasOwnProperty( 'ducksMissed')) {
37667
+ if (!Object.prototype.hasOwnProperty.call( this.stage.hud, 'ducksMissed')) {
37667
37668
this.stage.hud.createTextureBasedCounter('ducksMissed', {
37668
37669
texture: 'hud/score-live/0.png',
37669
37670
spritesheet: this.spritesheet,
@@ -37686,7 +37687,7 @@ var Game = function () {
37686
37687
37687
37688
if (this.stage && this.stage.hud) {
37688
37689
37689
- if (!this.stage.hud.hasOwnProperty( 'ducksShot')) {
37690
+ if (!Object.prototype.hasOwnProperty.call( this.stage.hud, 'ducksShot')) {
37690
37691
this.stage.hud.createTextureBasedCounter('ducksShot', {
37691
37692
texture: 'hud/score-dead/0.png',
37692
37693
spritesheet: this.spritesheet,
@@ -37723,7 +37724,7 @@ var Game = function () {
37723
37724
37724
37725
if (this.stage && this.stage.hud) {
37725
37726
37726
- if (!this.stage.hud.hasOwnProperty( 'bullets')) {
37727
+ if (!Object.prototype.hasOwnProperty.call( this.stage.hud, 'bullets')) {
37727
37728
this.stage.hud.createTextureBasedCounter('bullets', {
37728
37729
texture: 'hud/bullet/0.png',
37729
37730
spritesheet: this.spritesheet,
@@ -37761,7 +37762,7 @@ var Game = function () {
37761
37762
37762
37763
if (this.stage && this.stage.hud) {
37763
37764
37764
- if (!this.stage.hud.hasOwnProperty( 'score')) {
37765
+ if (!Object.prototype.hasOwnProperty.call( this.stage.hud, 'score')) {
37765
37766
this.stage.hud.createTextBox('score', {
37766
37767
style: {
37767
37768
fontFamily: 'Arial',
@@ -37805,7 +37806,7 @@ var Game = function () {
37805
37806
37806
37807
if (this.stage && this.stage.hud) {
37807
37808
37808
- if (!this.stage.hud.hasOwnProperty( 'waveStatus')) {
37809
+ if (!Object.prototype.hasOwnProperty.call( this.stage.hud, 'waveStatus')) {
37809
37810
this.stage.hud.createTextBox('waveStatus', {
37810
37811
style: {
37811
37812
fontFamily: 'Arial',
@@ -37850,7 +37851,7 @@ var Game = function () {
37850
37851
37851
37852
if (this.stage && this.stage.hud) {
37852
37853
37853
- if (!this.stage.hud.hasOwnProperty( 'gameStatus')) {
37854
+ if (!Object.prototype.hasOwnProperty.call( this.stage.hud, 'gameStatus')) {
37854
37855
this.stage.hud.createTextBox('gameStatus', {
37855
37856
style: {
37856
37857
fontFamily: 'Arial',
0 commit comments