Beispiel #1
0
    public void RemoveGeneral(int generalID)
    {
        if (Generals.Contains(generalID) == false)
        {
            return;
        }

        Generals.Remove(generalID);

        GeneralInfo general = GamePublic.Instance.DataManager.GetGeneralInfo(generalID);

        general.KingID = 0;
    }