kaos.robots.util
Class SonarArtifact

java.lang.Object
  extended by kaos.robots.util.Artifact
      extended by kaos.robots.util.SonarArtifact
All Implemented Interfaces:
Plottable

public class SonarArtifact
extends Artifact


Constructor Summary
SonarArtifact(java.lang.String id)
           
 
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 kaos.robots.util.Artifact
getID, getLevel, getType, setID, setLevel, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SonarArtifact

public SonarArtifact(java.lang.String id)
Method Detail

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