keba
Class Animat
java.lang.Object
|
+--javax.media.j3d.SceneGraphObject
|
+--javax.media.j3d.Node
|
+--javax.media.j3d.Group
|
+--javax.media.j3d.BranchGroup
|
+--keba.Phenomenon
|
+--keba.Animat
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- AnimatBrait, AnimatKEBA, AnimatMaes, AnimatNN, AnimatRule
- public abstract class Animat
- extends Phenomenon
- See Also:
- Serialized Form
Fields inherited from class keba.Phenomenon |
colour, flavour, hardness, id, loudness, odour, radius, t, tg, time, type, x, z |
Fields inherited from class javax.media.j3d.BranchGroup |
ALLOW_DETACH |
Fields inherited from class javax.media.j3d.Group |
ALLOW_CHILDREN_EXTEND, ALLOW_CHILDREN_READ, ALLOW_CHILDREN_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE |
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 |
Fields inherited from class javax.media.j3d.SceneGraphObject |
capabilities, nodeHashtable, retained |
Constructor Summary |
Animat(float nz,
float nx,
float nradius,
java.awt.Color col,
long nid,
int type)
|
Methods inherited from class javax.media.j3d.BranchGroup |
cloneNode, compile, createRetained, detach, pickAll, pickAllSorted, pickAny, pickClosest |
Methods inherited from class javax.media.j3d.Group |
addChild, cloneTree, duplicateAttributes, getAllChildren, getAlternateCollisionTarget, getChild, getCollisionBounds, insertChild, moveTo, numChildren, removeChild, setAlternateCollisionTarget, setChild, setCollisionBounds |
Methods inherited from class javax.media.j3d.Node |
checkDuplicateNode, checkForCycle, 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 |
checkForLiveOrCompiled, clearCapability, clearLive, duplicateSceneGraphObject, getCapability, getNodeComponent, getUserData, isCompiled, isLive, isLiveOrCompiled, setCapability, setCompiled, setLive, setUserData, updateNodeReferences |
Methods inherited from class java.lang.Object |
, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
af
AnimatFrame af
name
java.lang.String name
z2
float z2
x2
float x2
th
float th
noise
float noise
rp
float rp
verbose
boolean verbose
immortal
boolean immortal
dead
boolean dead
leaveTrail
boolean leaveTrail
toFile
boolean toFile
periodWrite
int periodWrite
transWrite
int transWrite
ostream
StatStream ostream
energy
public float energy
hunger
public float hunger
thirst
public float thirst
msg
java.lang.String msg
trail
SBranchGroup trail
trailBG
SBranchGroup trailBG
trailTG
STransformGroup trailTG
trailTG2
STransformGroup trailTG2
trailT
STransform3D trailT
trailT2
STransform3D trailT2
trailApp
SAppearance trailApp
Animat
public Animat(float nz,
float nx,
float nradius,
java.awt.Color col,
long nid,
int type)
init3D
void init3D()
- Overrides:
init3D
in class Phenomenon
iniTrail
public void iniTrail()
clean
void clean(int mode)
destroy
public void destroy()
- Overrides:
destroy
in class Phenomenon
restore
abstract void restore()
step
abstract void step()
- Overrides:
step
in class Phenomenon
stepState
void stepState()
removeTrail
public void removeTrail()
noise
float noise()
setEnergy
public void setEnergy(float ne)
setThirst
public void setThirst(float n)
setHunger
public void setHunger(float n)
setZ
public void setZ(float n)
setX
public void setX(float n)
setTh
public void setTh(float n)
getToroidalD
double getToroidalD(Phenomenon ph)