public class IntAction extends TemporalAction
Constructor and Description |
---|
IntAction()
Creates an IntAction that transitions from 0 to 1.
|
IntAction(int start,
int end)
Creates an IntAction that transitions from start to end.
|
Modifier and Type | Method and Description |
---|---|
int |
getEnd() |
int |
getStart() |
int |
getValue()
Gets the current int value.
|
void |
setEnd(int end)
Sets the value to transition to.
|
void |
setStart(int start)
Sets the value to transition from.
|
void |
setValue(int value)
Sets the current int value.
|
act, finish, getDuration, getInterpolation, getTime, isReverse, reset, restart, setDuration, setInterpolation, setReverse, setTime
public IntAction()
public IntAction(int start, int end)
public int getValue()
public void setValue(int value)
public int getStart()
public void setStart(int start)
public int getEnd()
public void setEnd(int end)
Copyright © 2015. All rights reserved.