Fix: bonus meat

This commit is contained in:
2019-12-10 08:31:48 +09:00
parent f77057ed8e
commit dec4692b31
8 changed files with 22 additions and 17 deletions
+4 -4
View File
@@ -6,13 +6,13 @@ function NormalMeat(mainGame) {
MeatBase.call(this);
this.setMeatTypeVariables();
this.setNormalMeatTypeVariables();
this.randomizeMeatType();
this.setSprite();
this.setNormalMeatSprite();
}
NormalMeat.prototype.setMeatTypeVariables = function() {
NormalMeat.prototype.setNormalMeatTypeVariables = function() {
this.cookingSpeed = NormalMeat.COOKING_SPEED_BURN_LEVEL_WEAK;
}
@@ -20,7 +20,7 @@ NormalMeat.prototype.randomizeMeatType = function() {
this.meatType = Math.floor(Math.random() * 3) + 1;
}
NormalMeat.prototype.setSprite = function() {
NormalMeat.prototype.setNormalMeatSprite = function() {
switch(this.meatType) {
case 1:
this.baseScale = 0.4;