Adjust Bomb Color
This commit is contained in:
@@ -98,11 +98,11 @@ namespace Services {
|
||||
DestroyMatchedGems(position);
|
||||
|
||||
GemView gemView = this.objectPool.Get(GemType.Bomb, position, 0);
|
||||
gemView.name = "Gem - " + position.x + ", " + position.y + ' ' + GemType.Bomb;
|
||||
gemView.name = "Bomb - " + position.x + ", " + position.y + ' ' + GemType.Bomb;
|
||||
|
||||
int scoreValue = GemUtils.GetGemValues(color, this.gameVariables.gemsPrefabs).scoreValue;
|
||||
Gem bombGem = new Gem(GemType.Bomb, position, scoreValue, color);
|
||||
gemView.Bind(bombGem);
|
||||
gemView.Bind(bombGem, isBomb: true);
|
||||
|
||||
this.gemPresenters.Add(new GemPresenter(bombGem, gemView));
|
||||
SetGem(position, bombGem);
|
||||
|
||||
Reference in New Issue
Block a user