be.saltwater.jaqel.scheduler
Class AttributeBehavior

java.lang.Object
  extended byjavax.media.j3d.SceneGraphObject
      extended byjavax.media.j3d.Node
          extended byjavax.media.j3d.Leaf
              extended byjavax.media.j3d.Behavior
                  extended bybe.saltwater.jaqel.scheduler.ScheduledBehavior
                      extended bybe.saltwater.jaqel.scheduler.KeyFrameBehavior
                          extended bybe.saltwater.jaqel.scheduler.AttributeBehavior

public class AttributeBehavior
extends KeyFrameBehavior

"Plays" a CreatureAnimation on a given Morph object 'loopcount' times. -1 will repeat the animation infinite.

See Also:
Morph, CreatureAnimation

Field Summary
 
Fields inherited from class javax.media.j3d.Node
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_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING
 
Constructor Summary
AttributeBehavior(CreatureActionScheduler scheduler, CreatureAnimation creature_animation, Creature c, int loopcount)
           
 
Method Summary
 void processStimulus(java.util.Enumeration criteria)
           
 
Methods inherited from class be.saltwater.jaqel.scheduler.KeyFrameBehavior
getWeightCalculator, internalInitialize
 
Methods inherited from class be.saltwater.jaqel.scheduler.ScheduledBehavior
finishAction, finishAnimation, getAlpha, getBranchGroup, initialize
 
Methods inherited from class javax.media.j3d.Behavior
getEnable, getNumSchedulingIntervals, getSchedulingBoundingLeaf, getSchedulingBounds, getSchedulingInterval, getView, getWakeupCondition, postId, setEnable, setSchedulingBoundingLeaf, setSchedulingBounds, setSchedulingInterval, updateNodeReferences, wakeupOn
 
Methods inherited from class javax.media.j3d.Node
cloneNode, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, duplicateNode, getBounds, getBoundsAutoCompute, getCollidable, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
 
Methods inherited from class javax.media.j3d.SceneGraphObject
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setUserData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeBehavior

public AttributeBehavior(CreatureActionScheduler scheduler,
                         CreatureAnimation creature_animation,
                         Creature c,
                         int loopcount)
Parameters:
loopcount - How many times to play this animation, -1 will play infinite.
Method Detail

processStimulus

public void processStimulus(java.util.Enumeration criteria)
Overrides:
processStimulus in class KeyFrameBehavior