simbad.sim
Class BallAgent

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

public class BallAgent
extends SimpleAgent

Author:
louis TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

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
BallAgent(javax.vecmath.Vector3d pos, java.lang.String name, javax.vecmath.Color3f color, float radius, float mass)
           
BallAgent(javax.vecmath.Vector3d pos, java.lang.String name, float radius)
           
 
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

BallAgent

public BallAgent(javax.vecmath.Vector3d pos,
                 java.lang.String name,
                 javax.vecmath.Color3f color,
                 float radius,
                 float mass)
Parameters:
pos -
name -

BallAgent

public BallAgent(javax.vecmath.Vector3d pos,
                 java.lang.String name,
                 float radius)
Method Detail

create3D

protected void create3D()
Create 3D geometry.

Overrides:
create3D in class SimpleAgent