Ejemplo n.º 1
0
 private DrawElement CreateDrawTeleportAnimation(DrawElementRequest request)
 {
     DrawElement element = CreateDrawStaticElement(request);
     return new DrawTeleportAnimation(request.getCalculatedX(element.getWidth()), request.getCalculatedY(element.getHeight()), screenWidth, screenHeight, element);
 }
Ejemplo n.º 2
0
 private DrawElement CreateDrawStaticImage(DrawElementRequest request)
 {
     DrawElement element = CreateDrawImage(request);
     element.setX(request.getCalculatedX(element.getWidth()));
     element.setY(request.getCalculatedY(element.getHeight()));
     return element;
 }
Ejemplo n.º 3
0
 private DrawElement CreateDrawSpinAnimationRightSpeedMid(DrawElementRequest request)
 {
     DrawElement element = CreateDrawImage(request);
     return new DrawSpinAnimation(request.getCalculatedX(element.getWidth()), request.getCalculatedY(element.getHeight()), element, 2, true);
 }
Ejemplo n.º 4
0
 private DrawElement CreateDrawSpinAnimationLeftSpeedLow(DrawElementRequest request)
 {
     DrawElement element = CreateDrawImage(request);
     return new DrawSpinAnimation(request.getCalculatedX(element.getWidth()), request.getCalculatedY(element.getHeight()), element, 1, false);
 }
Ejemplo n.º 5
0
 private DrawElement CreateDrawPulsingImage(DrawElementRequest request)
 {
     DrawElement element = new DrawPulsingImageElement(request.getAsset().getImageFileName());
     element.setX(request.getCalculatedX(element.getWidth()));
     element.setY(request.getCalculatedY(element.getHeight()));
     return element;
 }
Ejemplo n.º 6
0
 private DrawElement CreateDrawFallingAnimationSpeedMid(DrawElementRequest request)
 {
     DrawElement element = CreateDrawStaticElement(request);
     return new DrawFallingAnimation(request.getCalculatedX(element.getWidth()), request.getCalculatedY(element.getHeight()), screenHeight, 120, element);
 }