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