Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public ParticleEffect(ParticleLibrary lib)
 {
     this.lib = lib;
 }