EDU.gatech.cc.is.simulation
Class SquiggleBallSim

java.lang.Object
  |
  +--EDU.gatech.cc.is.simulation.AttractorSim
        |
        +--EDU.gatech.cc.is.simulation.SquiggleBallSim

public class SquiggleBallSim
extends AttractorSim
implements SimulatedObject

implements a moving attractor for JavaBotSim simulation.

Copyright (c)2000 Tucker Balch


Field Summary
static boolean DEBUG
           
 
Fields inherited from class EDU.gatech.cc.is.simulation.AttractorSim
all_objects, background, bottom, DEBUG, deposited, foreground, left, picked_up, position, RADIUS, rando, right, seed, top, unique_id, visionclass
 
Constructor Summary
SquiggleBallSim()
           
 
Method Summary
 void takeStep(long time_increment, SimulatedObject[] all_objs)
          Take a simulated step;
 
Methods inherited from class EDU.gatech.cc.is.simulation.AttractorSim
checkCollision, checkCollision, clearTrail, draw, draw, drawIcon, drawID, drawState, drawTrail, getCenter, getClosestPoint, getID, getPosition, getVisionClass, init, isObstacle, isPickupable, isPushable, pickUp, push, putDown, quit, receive, setID, setTrailLength, setVisionClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
Constructor Detail

SquiggleBallSim

public SquiggleBallSim()
Method Detail

takeStep

public void takeStep(long time_increment,
                     SimulatedObject[] all_objs)
Take a simulated step;
Specified by:
takeStep in interface SimulatedObject
Overrides:
takeStep in class AttractorSim
Tags copied from interface: SimulatedObject
Parameters:
time_increment - how much time has elapsed since the last call.
all_objects - the other objects in the simulation.