Esempio n. 1
0
    public void SetArmyEscape(WhichSide side)
    {
        if (side == WhichSide.Left)
        {
            leftGeneral.SetEscape();

            for (int i = 0; i < leftSoliders.Count; i++)
            {
                leftSoliders[i].SetEscape();
            }
        }
        else
        {
            rightGeneral.SetEscape();

            for (int i = 0; i < rightSoliders.Count; i++)
            {
                rightSoliders[i].SetEscape();
            }
        }
    }