public override Fx.ParticleLibrary GetParticleLibrary(string filename) { Fx.ParticleLibrary lib; if (!particlelibs.TryGetValue(filename, out lib)) { var ale = new Utf.Ale.AleFile(filename); lib = new Fx.ParticleLibrary(this, ale); particlelibs.Add(filename, lib); } return(lib); }
public ParticleEffect(ParticleLibrary lib) { this.lib = lib; }