PActivity.ProcessStep Method 

The activity scheduler calls this method and it is here that the activity decides if it should do a step or not for the given time.

public virtual long ProcessStep(
   long currentTime


The time for which this activity must decide whether or not to step.

Return Value

The step rate of this activity, -1 if past the stopTime.

See Also

PActivity Class | UMD.HCIL.Piccolo.Activities Namespace