Esempio n. 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);
    }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
    }