simbad.sim
Class CherryAgent

java.lang.Object
  extended by simbad.sim.BaseObject
      extended by simbad.sim.SimpleAgent
          extended by simbad.sim.CherryAgent

public class CherryAgent
extends SimpleAgent

This simple agent can be used for 'pacman' expermiment. See PickCherries Demo.


Field Summary
(package private)  javax.vecmath.Color3f color
           
 
Fields inherited from class simbad.sim.SimpleAgent
angularAcceleration, angularVelocity, body, collisionDetected, collisionDistance, collisionRadius, dynamicFrictionCoefficient, height, instantRotation, instantTranslation, interactionDetected, linearAcceleration, linearVelocity, mass, name, odometer, positionChanged, radius, staticFrictionCoefficient, t3d1, t3d2, t3d3, v1, veryNearAgent
 
Fields inherited from class simbad.sim.BaseObject
black, branchGroup, canBeTraversed, compilable, detachedFromSceneGraph, group, localBounds, material, rotation, rotationGroup, translation, translationGroup, white, world
 
Constructor Summary
CherryAgent(javax.vecmath.Vector3d pos, java.lang.String name, float radius)
          Construct an AppleAgent.
 
Method Summary
protected  void create3D()
          Create 3D geometry.
 
Methods inherited from class simbad.sim.SimpleAgent
addActuatorDevice, addSensorDevice, anOtherAgentIsVeryNear, asString, checkCollision, clearVeryNear, collisionDetected, create, dispose, distanceToGround, getActuatorDevice, getActuatorList, getCoords, getCoords, getCounter, getHeight, getLifeTime, getMass, getName, getRadius, getSensorDevice, getSensorList, getVeryNearAgent, initBehavior, initPreBehavior, integratesPositionChange, integratesVelocities, interactionDetected, moveToPosition, moveToPosition, moveToStartPosition, performBehavior, performPreBehavior, reset, resetDevices, resetPosition, resetPositionAt, setMotorsAcceleration, setSimulator, updateActuators, updateCounters, updatePosition, updateSensors, veryNear
 
Methods inherited from class simbad.sim.BaseObject
addChild, addChild, attach, compile, create3D, detach, getBounds, getCanBeTraversed, getGroup, getNode, getRotationTransform, getRotationTransformGroup, getTranslation, getTranslationTransform, getTranslationTransform, resetTransforms, rotateY, setBounds, setCanBeTraversed, setColor, setWorld, translateTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

color

javax.vecmath.Color3f color
Constructor Detail

CherryAgent

public CherryAgent(javax.vecmath.Vector3d pos,
                   java.lang.String name,
                   float radius)
Construct an AppleAgent.

Parameters:
pos -
name -
Method Detail

create3D

protected void create3D()
Create 3D geometry.

Overrides:
create3D in class SimpleAgent