kaos.robots.util
Class DetectedObjectArtifact
java.lang.Object
kaos.robots.util.Artifact
kaos.robots.util.DetectedObjectArtifact
- All Implemented Interfaces:
- Plottable
public class DetectedObjectArtifact
- extends Artifact
Method Summary |
void |
draw(java.awt.Graphics g,
int Xcenter,
int Ycenter,
int scaleFactor)
Must provide a draw method for plotter to render artifact |
void |
setColor(java.awt.Color color)
|
void |
setX(double x)
|
void |
setX2(double x2)
|
void |
setY(double y)
|
void |
setY2(double y2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DetectedObjectArtifact
public DetectedObjectArtifact(java.lang.String id)
setX
public void setX(double x)
setY
public void setY(double y)
setX2
public void setX2(double x2)
setY2
public void setY2(double y2)
setColor
public void setColor(java.awt.Color color)
draw
public void draw(java.awt.Graphics g,
int Xcenter,
int Ycenter,
int scaleFactor)
- Must provide a draw method for plotter to render artifact
- Specified by:
draw
in interface Plottable
- Specified by:
draw
in class Artifact