Convert HeroDeck into BattleDeck<HeroCard>
This commit is contained in:
parent
c2e8b526b6
commit
de072a80f7
8 changed files with 93 additions and 67 deletions
|
|
@ -15,12 +15,12 @@ public class BattlePlayerControls : MonoBehaviour
|
|||
public delegate void TurnPassedAction();
|
||||
public event TurnPassedAction OnTurnPassed;
|
||||
|
||||
private HeroDeck heroDeck;
|
||||
private BattleDeck<HeroCard> heroDeck;
|
||||
private List<GameObject> cardsInHandUIs;
|
||||
private PlayArea playArea;
|
||||
private Dictionary<BaseCard, GameObject> cardsInPlayUIs;
|
||||
|
||||
public void Init(HeroDeck heroDeck, PlayArea playArea) {
|
||||
public void Init(BattleDeck<HeroCard> heroDeck, PlayArea playArea) {
|
||||
this.heroDeck = heroDeck;
|
||||
this.playArea = playArea;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue