kaos.robots.util
Class SonarArtifact
java.lang.Object
kaos.robots.util.Artifact
kaos.robots.util.SonarArtifact
- All Implemented Interfaces:
- Plottable
public class SonarArtifact
- 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 |
setCoordinate(Coordinate coordinate)
|
void |
setHistoryLength(int length)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SonarArtifact
public SonarArtifact(java.lang.String id)
setCoordinate
public void setCoordinate(Coordinate coordinate)
setColor
public void setColor(java.awt.Color color)
setHistoryLength
public void setHistoryLength(int length)
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