Package mindustry.logic
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
FieldsModifier and TypeFieldDescriptionbooleanintintbooleanintFields 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 -
Method Summary
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
-
Field Details
-
button
-
predHeight
public int predHeight -
markedDone
public boolean markedDone -
jumpUIBegin
public int jumpUIBegin -
jumpUIEnd
public int jumpUIEnd -
flipped
public boolean flipped
-
-
Constructor Details
-
JumpCurve
-
-
Method Details
-
setSize
public void setSize(float width, float height) - Overrides:
setSizein classarc.scene.Element
-
act
public void act(float delta) - Overrides:
actin classarc.scene.Element
-
draw
public void draw()- Overrides:
drawin classarc.scene.Element
-
drawCurve
public void drawCurve(float x, float y, float x2, float y2) -
prepareHeight
public void prepareHeight()
-