Class LCanvas.JumpCurve

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

public static class LCanvas.JumpCurve extends arc.scene.Element
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
    boolean
     
    int
     
    int
     
    boolean
     
    int
     

    Fields inherited from class arc.scene.Element

    color, cullable, fillParent, height, name, originX, originY, parent, parentAlpha, rotation, scaleX, scaleY, touchable, touchablility, translation, userObject, visibility, visible, width, x, y
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    act(float delta)
     
    void
     
    void
    drawCurve(float x, float y, float x2, float y2)
     
    void
     
    void
    setSize(float width, float height)
     

    Methods inherited from class arc.scene.Element

    actions, addAction, addCaptureListener, addListener, change, changed, clear, clearActions, clearListeners, clicked, clicked, clicked, clicked, clipBegin, clipBegin, clipEnd, dragged, exited, fire, fireClick, getActions, getCaptureListeners, getHeight, getListeners, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getPrefHeight, getPrefWidth, getRight, getRotation, getScene, getTop, getWidth, getX, getY, getZIndex, hasActions, hasKeyboard, hasMouse, hasParent, hasScroll, hit, hovered, invalidate, invalidateHierarchy, isAscendantOf, isDescendantOf, isDescendantOf, isTouchable, keepInStage, keyDown, keyDown, layout, localToAscendantCoordinates, localToParentCoordinates, localToStageCoordinates, moveBy, needsLayout, notify, pack, parentToLocalCoordinates, released, remove, removeAction, removeCaptureListener, removeListener, requestKeyboard, requestScroll, rotateBy, rotationChanged, scaleBy, scaleBy, screenToLocalCoordinates, scrolled, setBounds, setColor, setColor, setFillParent, setHeight, setLayoutEnabled, setOrigin, setOrigin, setPosition, setPosition, setRotation, setRotationOrigin, setScale, setScale, setScene, setSize, setTranslation, setWidth, setZIndex, sizeBy, sizeBy, sizeChanged, stageToLocalCoordinates, tapped, toBack, toFront, toString, touchable, update, updateVisibility, validate, visible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • button

      public LCanvas.JumpButton button
    • predHeight

      public int predHeight
    • markedDone

      public boolean markedDone
    • jumpUIBegin

      public int jumpUIBegin
    • jumpUIEnd

      public int jumpUIEnd
    • flipped

      public boolean flipped
  • Constructor Details

  • Method Details

    • setSize

      public void setSize(float width, float height)
      Overrides:
      setSize in class arc.scene.Element
    • act

      public void act(float delta)
      Overrides:
      act in class arc.scene.Element
    • draw

      public void draw()
      Overrides:
      draw in class arc.scene.Element
    • drawCurve

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

      public void prepareHeight()