public void Remove(Type type) { m_Icons.Remove(type); if (m_Icons.Count == 0) { CentralMemory.RemoveModule(this.Owner, (Module)this); } }
public void Remove(string castCommand) { m_CastCommands.Remove(castCommand.ToLower()); if (m_CastCommands.Count == 0) { CentralMemory.RemoveModule(this.Owner, (Module)this); } }