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

Field Summary
(package private)  AnimatFrame af
           
(package private)  boolean dead
           
 float energy
           
 float hunger
           
(package private)  boolean immortal
           
(package private)  boolean leaveTrail
           
(package private)  java.lang.String msg
           
(package private)  java.lang.String name
           
(package private)  float noise
           
(package private)  StatStream ostream
           
(package private)  int periodWrite
           
(package private)  float rp
           
(package private)  float th
           
 float thirst
           
(package private)  boolean toFile
           
(package private)  SBranchGroup trail
           
(package private)  SAppearance trailApp
           
(package private)  SBranchGroup trailBG
           
(package private)  STransform3D trailT
           
(package private)  STransform3D trailT2
           
(package private)  STransformGroup trailTG
           
(package private)  STransformGroup trailTG2
           
(package private)  int transWrite
           
(package private)  boolean verbose
           
(package private)  float x2
           
(package private)  float 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
Animat(float nz, float nx, float nradius, java.awt.Color col, long nid, int type)
           
 
Method Summary
(package private)  void clean(int mode)
           
 void destroy()
           
(package private)  double getToroidalD(Phenomenon ph)
           
(package private)  void init3D()
           
 void iniTrail()
           
(package private)  float noise()
           
 void removeTrail()
           
(package private) abstract  void restore()
           
 void setEnergy(float ne)
           
 void setHunger(float n)
           
 void setTh(float n)
           
 void setThirst(float n)
           
 void setX(float n)
           
 void setZ(float n)
           
(package private) abstract  void step()
           
(package private)  void 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
, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Animat

public Animat(float nz,
              float nx,
              float nradius,
              java.awt.Color col,
              long nid,
              int type)
Method Detail

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)