Add: waiter

This commit is contained in:
2019-12-10 20:56:28 +09:00
parent f1c4d918a8
commit ad229189c9
2 changed files with 16 additions and 13 deletions
+5 -2
View File
@@ -64,6 +64,10 @@ var Game = {
this.plusScoreGroup = game.add.group();
var table = game.add.tileSprite(0, 340, GAME_SCREEN_SIZE.x, 660, 'wooden_table');
this.god = new God(this);
this.waiter = new Waiter();
this.meatPlate = game.add.image(220, Game.MEAT_PLATE_POSITION_Y, 'plate');
this.meatPlate.anchor.set(0.5);
this.meatPlate.smoothed = false;
@@ -76,8 +80,6 @@ var Game = {
this.trashCan = new TrashCan();
this.god = new God(this);
// meat
this.bonusMeat = new BonusMeat(this);
this.bonusMeat.setActive(false, -100, -100, "");
@@ -195,6 +197,7 @@ var Game = {
console.log("badMeatCount : " + this.badMeatCount);
this.activatedMeatCount = this.getStageMeatCount();
this.serveMeats();
this.waiter.animateServing();
},
setClickEnable: function(value) {