Adjust Bomb Color

This commit is contained in:
2025-12-16 20:34:13 +08:00
parent b97a9e73d8
commit d10d574cff
5 changed files with 61 additions and 49 deletions

View File

@@ -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);