kaos.robots.util
Class GarageArtifact

java.lang.Object
  extended by Area
      extended by kaos.robots.util.GarageArtifact
All Implemented Interfaces:
java.io.Serializable

public class GarageArtifact
extends Area
implements java.io.Serializable


Constructor Summary
GarageArtifact(java.lang.String name, Coordinate ulb, Coordinate lrb)
           
 
Method Summary
 void addLevel(LevelArtifact level)
           
 void draw(java.awt.Graphics g, int Xcenter, int Ycenter, double scaleFactor, int orientation)
          Must provide a draw method for plotter to render artifact
 java.util.Vector getLevels()
           
 void setSelectedLevel(int x)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GarageArtifact

public GarageArtifact(java.lang.String name,
                      Coordinate ulb,
                      Coordinate lrb)
Method Detail

addLevel

public void addLevel(LevelArtifact level)

getLevels

public java.util.Vector getLevels()

setSelectedLevel

public void setSelectedLevel(int x)

toString

public java.lang.String toString()

draw

public void draw(java.awt.Graphics g,
                 int Xcenter,
                 int Ycenter,
                 double scaleFactor,
                 int orientation)
Must provide a draw method for plotter to render artifact