Ejemplo n.º 1
0
 public EffectApi(AffectSystem affectSystem, AffectRenderSystem affectRenderSystem)
 {
     this.affectSystem        = affectSystem;
     this.affectRenderSystem  = affectRenderSystem;
     this.componentAffectsMap = new Dictionary <Type, Affects>();
 }
Ejemplo n.º 2
0
 public AffectRenderSystem(IModHelper helper, AffectSystem affectSystem)
 {
     this.renderers = new List <IEffectRenderer>();
     helper.Events.Display.Rendered += this.Display_Rendered;
 }