edu.umd.cs.piccolo.activities
Class GuessEdgeActivity
java.lang.Object
edu.umd.cs.piccolo.activities.PActivity
edu.umd.cs.piccolo.activities.PInterpolatingActivity
edu.umd.cs.piccolo.activities.GuessEdgeActivity
- public class GuessEdgeActivity
- extends PInterpolatingActivity
Methods inherited from class edu.umd.cs.piccolo.activities.PInterpolatingActivity |
computeSlowInSlowOut, getFirstLoop, getLoopCount, getMode, getSlowInSlowOut, setDuration, setFirstLoop, setLoopCount, setMode, setSlowInSlowOut, terminate |
Methods inherited from class edu.umd.cs.piccolo.activities.PActivity |
getActivityScheduler, getDelegate, getDuration, getNextStepTime, getStartTime, getStepRate, getStopTime, isStepping, processStep, setActivityScheduler, setDelegate, setStartTime, setStepRate, startAfter, terminate, toString |
GuessEdgeActivity
public GuessEdgeActivity(long duration,
long stepRate,
GuessPEdge aTarget)
- Create a new GuessEdgeActivity.
- Parameters:
duration
- the length of one loop of the activitystepRate
- the amount of time between steps of the activityaTarget
- the object that the activity will be applied to and where
the source state will be taken from.
setStarts
public void setStarts()
setDestinationGone
public void setDestinationGone()
setDestination
public void setDestination(Color dC,
boolean dV,
double dWidth)
setDestinations
public void setDestinations(Color[] dC,
boolean[] dV,
double[] dWidth)
setRelativeTargetValue
public void setRelativeTargetValue(float zeroToOne)