lab5copy
Class Eyeball

java.lang.Object
  extended by lab5copy.Eyeball
Direct Known Subclasses:
EyeballMyopic

public class Eyeball
extends java.lang.Object


Field Summary
protected  Point location
           
 
Constructor Summary
Eyeball(GraphicsPanel p, Point location)
           
 
Method Summary
 Vector getLookAtVector()
           
 Point getPupilAt()
           
 void lookAt(int x, int y)
           
 void moveTo(Point location)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

location

protected Point location
Constructor Detail

Eyeball

public Eyeball(GraphicsPanel p,
               Point location)
Method Detail

getLookAtVector

public Vector getLookAtVector()

getPupilAt

public Point getPupilAt()

lookAt

public void lookAt(int x,
                   int y)

moveTo

public void moveTo(Point location)