EDU.gatech.cc.is.simulation
Class AttractorFlagSim

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

public class AttractorFlagSim
extends AttractorSim

A simple flag for capture the flac simulation.

Copyright (c)2000 Tucker Balch


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
AttractorFlagSim()
           
 
Method Summary
 void draw(java.awt.Graphics g, int w, int h, double t, double b, double l, double r)
          Draw the attractor.
 
Methods inherited from class EDU.gatech.cc.is.simulation.AttractorSim
checkCollision, checkCollision, clearTrail, draw, drawIcon, drawID, drawState, drawTrail, getCenter, getClosestPoint, getID, getPosition, getVisionClass, init, isObstacle, isPickupable, isPushable, pickUp, push, putDown, quit, receive, setID, setTrailLength, setVisionClass, takeStep
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttractorFlagSim

public AttractorFlagSim()
Method Detail

draw

public void draw(java.awt.Graphics g,
                 int w,
                 int h,
                 double t,
                 double b,
                 double l,
                 double r)
Draw the attractor.
Overrides:
draw in class AttractorSim
Tags copied from interface: SimulatedObject
Parameters:
g - graphics area to draw the object.
w - the width in pixels of g.
h - the height in pixels of g.
t - the y coordinate represented by the top boundary of the drawing area.
b - the y coordinate represented by the bottom boundary of the drawing area.
l - the x coordinate represented by the left boundary of the drawing area.
r - the x coordinate represented by the right boundary of the drawing area.