keba
Class AnimatKEBA
java.lang.Object
|
+--javax.media.j3d.SceneGraphObject
|
+--javax.media.j3d.Node
|
+--javax.media.j3d.Group
|
+--javax.media.j3d.BranchGroup
|
+--keba.Phenomenon
|
+--keba.Animat
|
+--keba.AnimatKEBA
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- public class AnimatKEBA
- extends Animat
- See Also:
- Serialized Form
Fields inherited from class keba.Animat |
af, dead, energy, hunger, immortal, leaveTrail, msg, name, noise, 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 |
AnimatKEBA(float nz,
float nx,
float nradius,
long nid)
|
Methods inherited from class keba.Animat |
clean, destroy, getToroidalD, init3D, iniTrail, noise, removeTrail, setEnergy, setHunger, setTh, setThirst, setX, setZ, stepState |
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 |
sens
float[] sens
behaviour
int behaviour
keb
KEB keb
maxlevs
int maxlevs
maxkons
int maxkons
maxpersist
int maxpersist
kons
int kons
dokeb
boolean dokeb
introcept
boolean introcept
propiocept
boolean propiocept
satisf
public float satisf
cumsatisf
public float cumsatisf
action
public int action
c
Concept c
TYPES_OF_SENSOR
public static final int TYPES_OF_SENSOR
REDNESS
public static final int REDNESS
GREENNESS
public static final int GREENNESS
BLUENESS
public static final int BLUENESS
PFLAVOUR
public static final int PFLAVOUR
NFLAVOUR
public static final int NFLAVOUR
PODOUR
public static final int PODOUR
NODOUR
public static final int NODOUR
HARDNESS
public static final int HARDNESS
LOUDNESS
public static final int LOUDNESS
ENERGY
public static final int ENERGY
THIRST
public static final int THIRST
HUNGER
public static final int HUNGER
NOACT
public static final int NOACT
EXPLORING
public static final int EXPLORING
EATING
public static final int EATING
DRINKING
public static final int DRINKING
APPROACHING_FOOD
public static final int APPROACHING_FOOD
APPROACHING_RAIN
public static final int APPROACHING_RAIN
APPROACHING_LIGHTNING
public static final int APPROACHING_LIGHTNING
AVOIDING
public static final int AVOIDING
NINT
public static final int NINT
NACT
public static final int NACT
NONE
public static final int NONE
EXPLORE
public static final int EXPLORE
EAT
public static final int EAT
DRINK
public static final int DRINK
APPROACH_FOOD
public static final int APPROACH_FOOD
APPROACH_RAIN
public static final int APPROACH_RAIN
APPROACH_LIGHTNING
public static final int APPROACH_LIGHTNING
AVOID
public static final int AVOID
YUD
public static final float YUD
AnimatKEBA
public AnimatKEBA(float nz,
float nx,
float nradius,
long nid)
sensType
public static java.lang.String sensType(int type)
actType
public static java.lang.String actType(int type)
needsTouch
public boolean needsTouch(int type)
restore
public void restore()
- Overrides:
restore
in class Animat
step
public void step()
- Overrides:
step
in class Animat
inckons
public void inckons()
deckons
public void deckons()
perceive
public void perceive()
noact
public float noact()
explore
public float explore()
eat
public float eat()
drink
public float drink()
approachFood
public float approachFood()
approachRain
public float approachRain()
approachLightning
public float approachLightning()
avoid
public float avoid()
approach
public void approach(int type)
randommove
public void randommove()