コード例 #1
0
 public EffectApi(AffectSystem affectSystem, AffectRenderSystem affectRenderSystem)
 {
     this.affectSystem        = affectSystem;
     this.affectRenderSystem  = affectRenderSystem;
     this.componentAffectsMap = new Dictionary <Type, Affects>();
 }
コード例 #2
0
ファイル: AffectRenderSystem.cs プロジェクト: ClxS/SDVMods
 public AffectRenderSystem(IModHelper helper, AffectSystem affectSystem)
 {
     this.renderers = new List <IEffectRenderer>();
     helper.Events.Display.Rendered += this.Display_Rendered;
 }