public virtual Boolean PlayActionGroup() { int mainResourceCost = selectedActionGroup.mainResourceCost.GetResourceCost(this); if (!IsActionGroupPlayable(selectedActionGroup, mainResourceCost)) { return(false); } GameManager.actionQueue.AddActionToQueue(this, selectedActionGroup, mainResourceCost); // this.selectedActionGroup.ExecuteActionGroup(this,mainResourceCost); selectedActionGroup.ExecuteEndOfExecutionProcess(this, mainResourceCost); CallOnDisplayValuesModified(); CallOnHandDisplayModified(); // Debug.Log("Called from play actionGroup card"); return(true); // Debug.Log("Card played"); }