EDU.gatech.cc.is.simulation
Class AttractorPermSim

java.lang.Object
  |
  +--EDU.gatech.cc.is.simulation.AttractorSim
        |
        +--EDU.gatech.cc.is.simulation.AttractorPermSim
Direct Known Subclasses:
AttractorHurtPersonSim, AttractorPersonSim

public class AttractorPermSim
extends AttractorSim
implements SimulatedObject

A simple attractor for simulation. This attractor differs from AttractorSim in that it remains once it is putDown.

Copyright (c)2000 by 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
AttractorPermSim()
           
 
Method Summary
 void putDown(Vec2 p)
          Try to put down the object.
 
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, 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

AttractorPermSim

public AttractorPermSim()
Method Detail

putDown

public void putDown(Vec2 p)
Description copied from interface: SimulatedObject
Try to put down the object.
Specified by:
putDown in interface SimulatedObject
Overrides:
putDown in class AttractorSim
Tags copied from interface: SimulatedObject
Parameters:
p - the location of deposit.