comment leaving game timeout
This commit is contained in:
parent
13c50726bc
commit
edc7faec5d
@ -82,11 +82,11 @@ class Combat extends Phaser.Scene {
|
|||||||
if (startGame) { this.startGame(data); return true; }
|
if (startGame) { this.startGame(data); return true; }
|
||||||
this.checkAnimation(data);
|
this.checkAnimation(data);
|
||||||
// Game over?
|
// Game over?
|
||||||
if (data.phase === 'Finish') {
|
// if (data.phase === 'Finish') {
|
||||||
this.time.delayedCall(10000, () => {
|
// this.time.delayedCall(10000, () => {
|
||||||
this.endGame();
|
// this.endGame();
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,7 +47,7 @@ class CrypRows extends Phaser.GameObjects.Group {
|
|||||||
this.add(row);
|
this.add(row);
|
||||||
|
|
||||||
const crypStat = (stat, j) => {
|
const crypStat = (stat, j) => {
|
||||||
const STAT_X = 0;
|
const STAT_X = ROW_X;
|
||||||
const STAT_Y = (j * TEXT_MARGIN) + ROW_Y + TEXT_MARGIN;
|
const STAT_Y = (j * TEXT_MARGIN) + ROW_Y + TEXT_MARGIN;
|
||||||
|
|
||||||
const text = list.add.text(STAT_X, STAT_Y, `${stat.stat}: ${stat.base}`, TEXT.NORMAL);
|
const text = list.add.text(STAT_X, STAT_Y, `${stat.stat}: ${stat.base}`, TEXT.NORMAL);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user