Cozy Wather + buld systeme
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Ashwild.Building
|
||||
{
|
||||
/// <summary>
|
||||
/// The view payload for one construction-menu card: exactly what the card renders (icon +
|
||||
/// label), nothing more. A manager builds these from the buildable catalog and pushes them
|
||||
/// into the menu view, so the UI shows cards without ever knowing about BuildableData or
|
||||
/// where the list comes from.
|
||||
/// </summary>
|
||||
public readonly struct BuildCardView
|
||||
{
|
||||
public readonly Sprite Icon;
|
||||
public readonly string Label;
|
||||
|
||||
public BuildCardView(Sprite icon, string label)
|
||||
{
|
||||
Icon = icon;
|
||||
Label = label;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user