Class LCanvas.JumpCurve

java.lang.Object
arc.scene.Element
mindustry.logic.LCanvas.JumpCurve
Enclosing class:
LCanvas

public static class LCanvas.JumpCurve extends Element
  • Field Details

  • Constructor Details

  • Method Details

    • act

      public void act(float delta)
      Description copied from class: Element
      Updates the actor based on time. Typically this is called each frame by Scene.act(float).

      The default implementation calls Action.act(float) on each action and removes actions that are complete.

      Overrides:
      act in class Element
      Parameters:
      delta - Time in seconds since the last frame.
    • draw

      public void draw()
      Description copied from class: Element
      Draws the element. Does nothing by default.
      Overrides:
      draw in class Element
    • drawCurve

      public void drawCurve(float x, float y, float x2, float y2)