到IronWall

This commit is contained in:
SoulliesOfficial
2025-10-30 23:31:29 -04:00
parent 8b72c75128
commit 5d09ef7b53
39 changed files with 688 additions and 41 deletions

View File

@@ -13,6 +13,7 @@ namespace Continentis.MainGame.UI
public HandPile handPile;
public DiscardPile discardPile;
public ExhaustPile exhaustPile;
public GravePile gravePile;
public TeamSwitchButton teamSwitchButton;
public HandCardSelectionInterface handCardSelector;
public CustomCardSelectionInterface customCardSelector;
@@ -32,11 +33,13 @@ namespace Continentis.MainGame.UI
handPile.cardViews.ForEach(c => LeanPool.Despawn(c.gameObject));
discardPile.cardViews.ForEach(c => LeanPool.Despawn(c.gameObject));
exhaustPile.cardViews.ForEach(c => LeanPool.Despawn(c.gameObject));
gravePile.cardViews.ForEach(c => LeanPool.Despawn(c.gameObject));
drawPile.cardViews.Clear();
handPile.cardViews.Clear();
discardPile.cardViews.Clear();
exhaustPile.cardViews.Clear();
gravePile.cardViews.Clear();
}
public PileBase Pile(string pileName)
@@ -51,6 +54,8 @@ namespace Continentis.MainGame.UI
return discardPile;
case "Exhaust":
return exhaustPile;
case "Grave":
return gravePile;
case "Intention":
throw new NotImplementedException("Intention pile UI is in HUD, not in DeckPage.");
default:

View File

@@ -4,16 +4,6 @@ namespace Continentis.MainGame.UI
{
public class ExhaustPile : PileBase
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
}

View File

@@ -0,0 +1,9 @@
using UnityEngine;
namespace Continentis.MainGame.UI
{
public class GravePile : PileBase
{
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: f997d4e8f500b944eb3cbb0f5c4ac7c5