public void draw() {
		if(noChildren()) {
			GL11.glPushMatrix();
			GL11.glTranslated(box.getX() - Theater.get().getScreen().camera.getX(), box.getY() - Theater.get().getScreen().camera.getY(), 0);
			if(blocked)
				GL11.glColor3d(1.0, 0, 0);
			else if(highlight)
				GL11.glColor3d(0, 1.0, 1.0);
			else if(flat)
				GL11.glColor3d(1.0, 1.0, 0);
			else
				GL11.glColor3d(1.0, 1.0, 1.0);
			GL11.glLineWidth(1.0f);
			
			GL11.glBegin(GL11.GL_LINE_LOOP);
			{
				GL11.glVertex2d(0, 0);
				GL11.glVertex2d(getBox().getWidth(), 0);
				GL11.glVertex2d(getBox().getWidth(), getBox().getHeight());
				GL11.glVertex2d(0, getBox().getHeight());
			}
			GL11.glEnd();
			GL11.glPopMatrix();
		} else {
		//if(!noChildren()) {
			for(int x = 0; x<children.length; x++) {
				children[x].draw();
			}
		}
	}