예제 #1
0
        /// <summary>
        /// Creates a new party.
        /// </summary>
        public Group CreateParty()
        {
            Group party = new Group(Parties.Count + 1);

            Parties.Add(party);
            return(party);
        }
예제 #2
0
 /// <summary>
 /// Tries to remove the specified party.
 /// </summary>
 /// <param name="party"></param>
 /// <returns></returns>
 public bool RemoveParty(Group party)
 {
     return(Parties.Remove(party));
 }