// ================================================================================ // public methods // -------------------------------------------------------------------------------- public void Add(SecondaryCharacter secondaryCharacter) { if (!characters.Contains(secondaryCharacter)) { characters.Add(secondaryCharacter); } }
public void Remove(SecondaryCharacter secondaryCharacter) { if (characters.Contains(secondaryCharacter)) { characters.Remove(secondaryCharacter); } }
public void DespawnRandom() { SecondaryCharacter visitor = characters.PickRandom(); visitor.Leave(); }