public void doStartOfTurnEffects(int starter)
    {
        printDebugMessage("Doing start of turn effects", OutputPriority.INTENSEDEBUG);
        BoardSide start = getBoardFromPlayer(starter);
        BoardSide other = starter == 1 ? p2Board : p1Board;

        bool flag = true;

        while (flag)
        {
            flag = false;
            flag = start.doStartOfTurnEffect(this) || flag;
            flag = other.doStartOfTurnEffect(this) || flag;
        }
    }