Add: waiter
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user