public void Load(string effectName)
 {
     if (cfg == null)
     {
         cfg = ConfigElement.GetAll(typeof(EffectConfig));
     }
     ConfigElement.ParseFile(cfg, "effects/" + effectName + ".properties", this);
 }
Beispiel #2
0
 public bool Load(string path)
 {
     return(ConfigElement.ParseFile(Server.levelConfig, path, this));
 }