public class SimpleSoundsBehavior 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 |
---|
SimpleSoundsBehavior(BackgroundSound sound1,
PointSound sound2,
PointSound sound3,
java.net.URL urlName1,
java.net.URL urlName2,
java.net.URL urlName3,
BoundingSphere soundBounds) |
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, updateNodeReferences
cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
clearCapability, clearCapabilityIsFrequent, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString
public SimpleSoundsBehavior(BackgroundSound sound1, PointSound sound2, PointSound sound3, java.net.URL urlName1, java.net.URL urlName2, java.net.URL urlName3, BoundingSphere soundBounds)
public void initialize()
Behavior
initialize
in class Behavior
public void processStimulus(java.util.Iterator<WakeupCriterion> criteria)
Behavior
processStimulus
in class Behavior
criteria
- an iterator of triggered wakeup criteria for this
behavior