|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.scenes.scene2d.Actor
com.TeamHEC.LocomotionCommotion.UI_Elements.Sprite
com.TeamHEC.LocomotionCommotion.UI_Elements.SpriteButton
com.TeamHEC.LocomotionCommotion.Goal.PlayerGoalRemoveBtn
public class PlayerGoalRemoveBtn
Field Summary | |
---|---|
int |
index
|
int |
newgoalindex
|
boolean |
undo
|
Fields inherited from class com.TeamHEC.LocomotionCommotion.UI_Elements.Sprite |
---|
started |
Constructor Summary | |
---|---|
PlayerGoalRemoveBtn(float x,
float y,
com.badlogic.gdx.graphics.Texture texture,
int index)
|
Method Summary | |
---|---|
int |
getnewgoalindex()
Gets the new goal index of the goal |
boolean |
getUndo()
returns if you can undo selecting the goal |
void |
resetButtons()
resets the button texture |
void |
setnewgoalindex(int i)
Sets the goal index |
void |
setRedoBtn()
Sets the redo button |
void |
setUndo(boolean b)
Sets if you can undo selecting the goal |
Methods inherited from class com.TeamHEC.LocomotionCommotion.UI_Elements.Sprite |
---|
act, draw, getPosition, getTexture, getX, getY, increaseX, increaseY, refreshBounds, setPosition, setTexture, setX, setY |
Methods inherited from class com.badlogic.gdx.scenes.scene2d.Actor |
---|
addAction, addCaptureListener, addListener, clear, clearActions, clearListeners, clipBegin, clipBegin, clipEnd, debug, drawDebug, 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, remove, removeAction, removeCaptureListener, removeListener, rotateBy, scaleBy, scaleBy, screenToLocalCoordinates, setBounds, setColor, setColor, setDebug, setHeight, setName, setOrigin, setOrigin, setOriginX, setOriginY, setPosition, setRotation, setScale, setScale, setScaleX, setScaleY, setSize, setTouchable, setUserObject, setVisible, setWidth, setZIndex, sizeBy, sizeBy, stageToLocalCoordinates, toBack, toFront, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int index
public int newgoalindex
public boolean undo
Constructor Detail |
---|
public PlayerGoalRemoveBtn(float x, float y, com.badlogic.gdx.graphics.Texture texture, int index)
Method Detail |
---|
public int getnewgoalindex()
public void setnewgoalindex(int i)
i
- public boolean getUndo()
public void setUndo(boolean b)
b
- true if selecting the goal can be undonepublic void resetButtons()
public void setRedoBtn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |