List of usage examples for javax.media.j3d Behavior subclass-usage
From source file SimpleGame.java
/**
* This is used in the SimpleGame application. It defines the behaviour for the
* duck, which is the target in the shooting game. If something collides with
* the duck, it swaps a switch value to 'kill' the duck The duck is revived when
* it's alpha value passes through zero.
*
From source file Pyramid2Cube.java
class MorphingBehavior extends Behavior {
Alpha alpha;
Morph morph;
From source file AvatarTest.java
/** * This class is a simple behavior that invokes the KeyNavigator to modify the * view platform transform. */ class CollisionBehavior extends Behavior {
From source file HelloUniverse.java
class SensorBehavior extends Behavior { private WakeupOnElapsedFrames conditions = new WakeupOnElapsedFrames(0); private TransformGroup transformGroup;
From source file Morphing.java
class MorphingBehavior extends Behavior {
Alpha alpha;
Morph morph;
From source file IntersectTest.java
/**
* Class: IntersectInfoBehavior
*
* Description: Used to respond to mouse pick and drag events in the 3D window.
* Displays information about the pick.
*
From source file TextureByReference.java
class AnimateTexturesBehavior extends Behavior { // what image are we on private int current; private int max;
From source file MouseNavigateTest.java
/**
* Base class for the Tornado Mouse Behaviors (Rotate, Translate, Scale).
*
* @author Daniel Selman
* @version 1.0
*/
From source file KeyNavigateTest.java
class TextureAnimationBehavior extends Behavior { // the wake up condition for the behavior protected WakeupCondition m_WakeupCondition = null; protected Transform3D m_Transform3D = null;
From source file EnvironmentExplorer.java
class KeyPrintBehavior extends Behavior { WakeupCondition wakeup = new WakeupOnAWTEvent(KeyEvent.KEY_PRESSED); public void initialize() { wakeupOn(wakeup);