Uses of Class
lab4.Point

Packages that use Point
game   
lab2   
lab4   
lab5copy   
yopsx   
 

Uses of Point in game
 

Fields in game declared as Point
static Point Controller.eyeBallLoc
           
protected  Point CurveTracer.lastPoint
           
protected  Point MovingBody.lr
           
protected  Point MovingBody.start
           
protected  Point MovingBody.ul
           
 

Methods in game that return Point
 Point Stationary.getLocation()
          As it was in the beginning, is now, and ever shall be
protected  Point MovingBody.getLocation()
           
 Point Trackable.getLocation()
          Get the current location of the Trackable object.
 Point Wiggle.getLocation()
          Where are we now?
 Point Trajectory.getLocation()
          Returns the current location.
protected  Point Trajectory.getLocation(int atTime)
           
 Point MovingBody.getStart()
          Getter
 Point Fireable.leavesFrom()
          Location from which the missile should launch
 

Methods in game with parameters of type Point
 void Fireable.aimAt(Point p)
          Cause the missile to aim at the specified point.
protected  boolean MovingBody.inBounds(Point p)
           
 void BackupPixelObserver.pixelAffected(Point p, java.awt.Color newColor, java.awt.Color oldColor)
          If this is the first time we have changed this pixel, then record the old color for this pixel so it can be restored later
 void PixelLogger.pixelAffected(Point p, java.awt.Color newColor, java.awt.Color oldColor)
           
 

Constructors in game with parameters of type Point
CurveTracer(Trajectory t, Point ul, Point lr, VirtualImagePainter painter)
           
Dart(Controller controller, Trajectory t, Point ul, Point lr)
           
FancyDart(Controller controller, Trackable trajectory, Point ul, Point lr)
           
MovingBody(Trackable trajectory, Point ul, Point lr)
          Accommodates a trajectory within a space bounded by two corners with animation.
MovingGraphic(Controller controller, Trackable t, Graphic s, Point ul, Point lr)
          Manage an animated Shape.
MovingGraphics(Controller controller, Trackable trajectory, Point ul, Point lr)
           
MovingPicture(Controller controller, Trackable trajectory, Point ul, Point lr)
          The constructor sets up this object, but no pictures are loaded yet.
SimpleBalloon(Controller controller, Trackable t, Point lr)
           
Stationary(Point location)
           
Trajectory(Point start)
          Falling body constructor for default gravity
Trajectory(Point start, Vector initialVelocity)
          Constructor compatible with last week's studio.
Trajectory(Point start, Vector initialVelocity, Vector gravity)
          Most general constructor, takes in gravity as a parameter.
Wiggle(Point start, int radius)
          Specify a Wiggle
 

Uses of Point in lab2
 

Methods in lab2 with parameters of type Point
static boolean LineTool.drawLine(Point p1, Point p2, VirtualImagePainter painter)
           
 

Uses of Point in lab4
 

Methods in lab4 that return Point
 Point Point.plus(Vector v)
           
 

Methods in lab4 with parameters of type Point
 double Point.distance(Point other)
           
 Vector Point.minus(Point other)
           
 

Uses of Point in lab5copy
 

Fields in lab5copy declared as Point
protected  Point Eyeball.location
           
 

Methods in lab5copy that return Point
 Point Eyeball.getPupilAt()
           
 Point EyeballMyopic.leavesFrom()
           
 

Methods in lab5copy with parameters of type Point
 void EyeballMyopic.aimAt(Point p)
           
 void Eyeball.moveTo(Point location)
           
 

Constructors in lab5copy with parameters of type Point
Eyeball(GraphicsPanel p, Point location)
           
EyeballMyopic(GraphicsPanel panel, Point p, int radius)
           
 

Uses of Point in yopsx
 

Methods in yopsx with parameters of type Point
protected  void VirtualImagePainter.affectPixel(Point p, java.awt.Color newColor, java.awt.Color oldColor)
          Instead of changing the pixel directly, allow observers to do that.
protected  java.awt.Color VirtualImagePainter.getPixel(Point p)
          Allow subclasses to inspect the image's pixels.
 boolean VirtualImagePainter.paint(Point pixel)
          Paint the specified pixel with the default color, using brushwidth pixels on all sides.
 void PixelObserver.pixelAffected(Point p, java.awt.Color newColor, java.awt.Color oldColor)
           
 boolean VirtualImagePainter.setPixel(Point pixel)
          Set a pixel to the default color.
 boolean VirtualImagePainter.setPixel(Point pixel, java.awt.Color color)