//called at the start of each turn public void startTurn() { //become the active player activeplayer = true; //if I need to mulligan, get ready and dont do anything else if (CardController.getController().mulliganTurn) { mulligan.changeVisibility(true); return; } //increment and refill mana, draw a card mMana += 1; cMana = mMana; draw(1); //refresh once-per-turn stuff heroPower.used = false; hero.canAttack = true; hero.attacked = false; foreach (Minion m in board) { //refersh once-per-turn stuff m.asleep = false; m.canAttack = true; //trigger start turn effects m.effect.onFriendlyTurnBegin(); m.effect.onTurnBegin(); } //trigger start turn effects foreach (Minion em in playerInput.controller.getOtherPlayer(this).board) { em.effect.onEnemyTurnBegin(); em.effect.onTurnBegin(); } }