Example #1
0
 public void addStage(int ticksToTransitZ, Rectangle initSourceZ)
 {
     PanZoomStage p = new PanZoomStage();
     p.tex = defaultTex;
     p.ticksToTransit = ticksToTransitZ;
     p.initColour = defaultColour;
     p.finalColour = defaultColour;
     p.initDest = defaultDest;
     p.finalDest = defaultDest;
     p.initSource = initSourceZ;
     p.finalSource = initSourceZ;
     p.reset();
     addStage(p);
 }
Example #2
0
 public void addStage(Texture2D texZ, int ticksToTransitZ, Color initColourZ, Color finalColourZ,
                      Rectangle initDestZ, Rectangle finalDestZ, Rectangle initSourceZ, Rectangle finalSourceZ)
 {
     PanZoomStage p = new PanZoomStage();
     p.tex = texZ;
     p.ticksToTransit = ticksToTransitZ;
     p.initColour = initColourZ;
     p.finalColour = finalColourZ;
     p.initDest = initDestZ;
     p.finalDest = finalDestZ;
     p.initSource = initSourceZ;
     p.finalSource = finalSourceZ;
     p.reset();
     addStage(p);
 }
Example #3
0
 public void addStage(PanZoomStage s)
 {
     lst.Add(s);
     reset();
 }