到IronWall
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user