|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object appletbots.VectorToDraw
public class VectorToDraw
This class represents a vector to be drawn when painting the world. This is used when showing the velocities or accelerations of agents.
Field Summary | |
---|---|
java.awt.Color |
color
The color with which to draw the vector |
Vector |
vector
The vector to draw |
Constructor Summary | |
---|---|
VectorToDraw(Vector vector,
java.awt.Color color)
Creates a new vector-to-draw object with the given parameters |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Vector vector
public java.awt.Color color
Constructor Detail |
---|
public VectorToDraw(Vector vector, java.awt.Color color)
vector
- The vector to drawcolor
- The color with which to draw the vector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |