public void DeleteCharacter(Character _character) { if (_character.IsPlayable == true && PCs.Contains(_character) == true) { PCs.Remove(_character); } else if (_character.IsPlayable == false && NPCs.Contains(_character) == true) { NPCs.Remove(_character); } }
/// <summary> /// [EDITOR ONLY] /// </summary> /// <param name="_character"></param> public void AddCharacter(Character _character) { if (_character.IsPlayable == true && PCs.Contains(_character) == false) { PCs.Add(_character); } else if (_character.IsPlayable == false && NPCs.Contains(_character) == false) { NPCs.Add(_character); } }