public FaderEffect(Component comp, long duration, bool loop, byte initAlpha, byte endAlpha) : base(comp, duration, loop) { this.initAlpha = initAlpha; this.endAlpha = endAlpha; dif = (byte) (endAlpha - initAlpha); }
public GuiEffect(Component comp, long duration, bool loop) { this.component = comp; this.duration = duration; this.loop = loop; this.enabled = false; this.elapsedTime = 0; }
public ScriptEffect(Component comp, long duration, bool loop, String initScriptName) : base(comp, duration, loop) { scripts = new Dictionary<String, Script>(); this.initScriptName = initScriptName; }
public void RemoveComponent(Component comp) { screens.Remove(comp); }
public void AddComponent(Component comp) { screens.Add(comp); }
public void RemoveComponent(Component comp) { components.Remove(comp); }
public void AddComponent(Component comp) { components.Add(comp); }