public class BackgroundSoundBehavior extends Behavior
ALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING| Constructor and Description |
|---|
BackgroundSoundBehavior(BackgroundSound bgs,
java.net.URL url)
Creates a new instance of BackgroundSoundBehavior
|
| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Initialize this behavior.
|
void |
processStimulus(java.util.Iterator<WakeupCriterion> criteria)
Process a stimulus meant for this behavior.
|
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferencescloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickableclearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toStringpublic BackgroundSoundBehavior(BackgroundSound bgs, java.net.URL url)
public void initialize()
Behaviorinitialize in class Behaviorpublic void processStimulus(java.util.Iterator<WakeupCriterion> criteria)
BehaviorprocessStimulus in class Behaviorcriteria - an iterator of triggered wakeup criteria for this
behavior