public class PlayerGoalRemoveBtn extends SpriteButton
Modifier and Type | Field and Description |
---|---|
int |
index |
int |
newgoalindex |
boolean |
undo |
Constructor and Description |
---|
PlayerGoalRemoveBtn(float x,
float y,
com.badlogic.gdx.graphics.Texture texture,
int index) |
Modifier and Type | Method and Description |
---|---|
int |
getnewgoalindex() |
boolean |
getUndo() |
protected void |
onClicked()
Called whenever the Sprite is clicked on.
|
void |
resetButtons() |
void |
setnewgoalindex(int i) |
void |
setRedoBtn() |
void |
setUndo(boolean b) |
onMouseEnter, onMouseExit
act, draw, getPosition, getTexture, getX, getY, increaseX, increaseY, refreshBounds, setPosition, setTexture, setX, setY
addAction, addCaptureListener, addListener, clear, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, drawDebug, drawDebugBounds, fire, getActions, getCaptureListeners, getColor, getDebug, getHeight, getListeners, getName, getOriginX, getOriginY, getParent, getRight, getRotation, getScaleX, getScaleY, getStage, getTop, getTouchable, getUserObject, getWidth, getX, getY, getZIndex, hasParent, hit, isAscendantOf, isDescendantOf, isTouchable, isVisible, localToAscendantCoordinates, localToParentCoordinates, localToStageCoordinates, moveBy, notify, parentToLocalCoordinates, positionChanged, remove, removeAction, removeCaptureListener, removeListener, rotateBy, scaleBy, scaleBy, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setParent, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setStage, setTouchable, setUserObject, setVisible, setWidth, setZIndex, sizeBy, sizeBy, sizeChanged, stageToLocalCoordinates, toBack, toFront, toString
public PlayerGoalRemoveBtn(float x, float y, com.badlogic.gdx.graphics.Texture texture, int index)
protected void onClicked()
SpriteButton
onClicked
in class SpriteButton
public int getnewgoalindex()
public void setnewgoalindex(int i)
public boolean getUndo()
public void setUndo(boolean b)
public void resetButtons()
public void setRedoBtn()