Fix: bonus meat
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user