[Fix] Naming
This commit is contained in:
@@ -39,12 +39,12 @@ namespace YachtDice.UI
|
||||
private const int UpperBonusValue = 35;
|
||||
|
||||
private ModifierRegistry modifierRegistry;
|
||||
private CategoryCatalogSO categoryCatalog;
|
||||
private CategoryCatalog categoryCatalog;
|
||||
private InventoryModel inventoryModel;
|
||||
private ShopModel shopModel;
|
||||
|
||||
[Inject]
|
||||
public void Construct(ModifierRegistry modifierRegistry, CategoryCatalogSO categoryCatalog)
|
||||
public void Construct(ModifierRegistry modifierRegistry, CategoryCatalog categoryCatalog)
|
||||
{
|
||||
this.modifierRegistry = modifierRegistry;
|
||||
this.categoryCatalog = categoryCatalog;
|
||||
@@ -217,7 +217,7 @@ namespace YachtDice.UI
|
||||
dicePanelView.SetDieValue(index, value);
|
||||
}
|
||||
|
||||
private void HandleScored(CategoryDefinitionSO category, int finalScore)
|
||||
private void HandleScored(CategoryDefinition category, int finalScore)
|
||||
{
|
||||
scoreCardView.SetCategoryScored(category, finalScore);
|
||||
UpdateTotalDisplay();
|
||||
@@ -259,7 +259,7 @@ namespace YachtDice.UI
|
||||
dicePanelView.SetDieLocked(index, isLocked);
|
||||
}
|
||||
|
||||
private void HandleCategorySelected(CategoryDefinitionSO category)
|
||||
private void HandleCategorySelected(CategoryDefinition category)
|
||||
{
|
||||
if (!gameManager.CanScore) return;
|
||||
if (scoringSystem.IsCategoryUsed(category)) return;
|
||||
@@ -317,7 +317,7 @@ namespace YachtDice.UI
|
||||
private void UpdatePreviewScores()
|
||||
{
|
||||
var dice = diceManager.GetDice();
|
||||
var previews = new Dictionary<CategoryDefinitionSO, int>();
|
||||
var previews = new Dictionary<CategoryDefinition, int>();
|
||||
var allCategories = categoryCatalog.All;
|
||||
|
||||
for (int i = 0; i < allCategories.Count; i++)
|
||||
|
||||
Reference in New Issue
Block a user