RandomTimer

An activity that fires an AnimationEvent after a random time period. The minimum and maximum duration of the time period can be specified.

Features

XML Element XML Type Java Class Activity
behaviour move uk.ac.ic.doc.scenebeans.behaviour.RandomTimer finite

Properties

Name Type Default Value Getter Method Setter Method Description
minDuration double 1.0 getMinDuration setMinDuration The minimum duration of the time period.
maxDuration double 1.0 getMaxDuration setMaxDuration The maximum duration of the time period.
activityName double 0.0 getActivityName setActivityName The name of the behaviour, as announced in AnimationEvents when the behaviour completes. In XML documents, this property is usually specified by the name attribute of the <behaviour> element.
finite boolean true isFinite read only Returns whether the activity is finite. It is, so this always returns true.