using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerAction { private bool turnPassed; private HeroCard cardUsed; public PlayerAction(HeroCard cardUsed) { if (cardUsed != null) { this.cardUsed = cardUsed; } else { this.turnPassed = true; } } public bool IsTurnPassed() { return this.turnPassed; } public HeroCard GetCardUsed() { return this.cardUsed; } }