|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.media.j3d.SceneGraphObject
|
+--javax.media.j3d.Node
|
+--javax.media.j3d.Group
|
+--javax.media.j3d.BranchGroup
|
+--keba.Phenomenon
|
+--keba.Animat
|
+--keba.AnimatBrait
| Field Summary | |
static int |
LEFT
|
(package private) float |
noise
|
static int |
RIGHT
|
| Fields inherited from class keba.Animat |
af, dead, energy, hunger, immortal, leaveTrail, msg, name, ostream, periodWrite, rp, th, thirst, toFile, trail, trailApp, trailBG, trailT, trailT2, trailTG, trailTG2, transWrite, verbose, x2, z2 |
| 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 | |
AnimatBrait(float nz,
float nx,
float nradius,
long nid)
|
|
| Method Summary | |
void |
drink()
|
void |
eat()
|
boolean |
foodAtRange()
|
int |
foodPerc()
|
void |
leftMotor(double thr)
|
int |
LRPh(Phenomenon ph)
|
void |
move()
|
boolean |
rainAtRange()
|
int |
rainPerc()
|
(package private) void |
restore()
|
void |
rightMotor(double thr)
|
int |
rockNear()
|
(package private) void |
step()
|
| Methods inherited from class keba.Animat |
clean, destroy, getToroidalD, init3D, iniTrail, noise, removeTrail, setEnergy, setHunger, setTh, setThirst, setX, setZ, stepState |
| Methods inherited from class keba.Phenomenon |
clone, restore3D, sinit3D |
| 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 |
|
| Field Detail |
float noise
public static final int LEFT
public static final int RIGHT
| Constructor Detail |
public AnimatBrait(float nz,
float nx,
float nradius,
long nid)
| Method Detail |
void restore()
restore in class Animatvoid step()
step in class Animatpublic void move()
public int LRPh(Phenomenon ph)
public int foodPerc()
public int rainPerc()
public int rockNear()
public boolean foodAtRange()
public boolean rainAtRange()
public void rightMotor(double thr)
public void leftMotor(double thr)
public void eat()
public void drink()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||