예제 #1
0
        public void RemoveAlly(PoliticalGroup other)
        {
            if (!Allies.Contains(other))
            {
                return;
            }

            Allies.Remove(other);
            AlliesRev.Remove(other);

            other.RemoveAlly(this);
        }
예제 #2
0
        public void AddAlly(PoliticalGroup other)
        {
            if (Allies.Contains(other))
            {
                return;
            }

            Allies.Add(other);
            AlliesRev.Add(other);

            other.AddAlly(this);
        }