worlds
Class CoveringBox

java.lang.Object
  extended bysema.Box
      extended byworlds.CoveringBox

public class CoveringBox
extends Box


Field Summary
 
Fields inherited from class sema.Box
image, map, x, y
 
Constructor Summary
CoveringBox(Map map, Drawing g, int x, int y, float height, java.lang.String kind)
           
 
Method Summary
 void draw()
          Draws the Box.
 
Methods inherited from class sema.Box
drawBorder, fill, getContents, getHeight, getIcon, getImage, getKind, getProperties, highlight, highlight, isFreeFor, register, setProperties, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoveringBox

public CoveringBox(Map map,
                   Drawing g,
                   int x,
                   int y,
                   float height,
                   java.lang.String kind)
Method Detail

draw

public void draw()
Description copied from class: Box
Draws the Box. if the image is set it draw the image.

Overrides:
draw in class Box