Example #1
0
    // Use the given parser to parse data loaded by the provider.
    public LugusConfigProviderPlayerPrefs(string url, ILugusConfigDataHelper parser)
    {
        _url     = url;
        _parsers = new List <ILugusConfigDataHelper>();
        _parsers.Add(new LugusConfigDataHelperXML());

        // for now we only accept XML serialiation
        //_parsers.Add(parser);
    }
Example #2
0
 // Use the given parser to parse data loaded by the provider.
 public LugusConfigProviderDefault(string url, ILugusConfigDataHelper parser)
 {
     _url     = url;
     _parsers = new List <ILugusConfigDataHelper>();
     _parsers.Add(parser);
 }
Example #3
0
 // Use the given parser to parse data loaded by the provider.
 public LugusConfigProviderDefault(string url, ILugusConfigDataHelper parser)
 {
     _url = url;
     _parsers = new List<ILugusConfigDataHelper>();
     _parsers.Add(parser);
 }
Example #4
0
    // Use the given parser to parse data loaded by the provider.
    public LugusConfigProviderPlayerPrefs(string url, ILugusConfigDataHelper parser)
    {
        _url = url;
        _parsers = new List<ILugusConfigDataHelper>();
        _parsers.Add(new LugusConfigDataHelperXML());

        // for now we only accept XML serialiation
        //_parsers.Add(parser);
    }