Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 public GuiEffect(Component comp, long duration, bool loop)
 {
     this.component = comp;
     this.duration = duration;
     this.loop = loop;
     this.enabled = false;
     this.elapsedTime = 0;
 }
Ejemplo n.º 3
0
 public ScriptEffect(Component comp, long duration, bool loop, String initScriptName)
     : base(comp, duration, loop)
 {
     scripts = new Dictionary<String, Script>();
     this.initScriptName = initScriptName;
 }
Ejemplo n.º 4
0
 public void RemoveComponent(Component comp)
 {
     screens.Remove(comp);
 }
Ejemplo n.º 5
0
 public void AddComponent(Component comp)
 {
     screens.Add(comp);
 }
Ejemplo n.º 6
0
 public void RemoveComponent(Component comp)
 {
     components.Remove(comp);
 }
Ejemplo n.º 7
0
 public void AddComponent(Component comp)
 {
     components.Add(comp);
 }