public void draw() {
		Graphics g = getFrame().getBufferStrategy().getDrawGraphics();
		g.setColor(new Color(240, 240, 240));
		g.fillRect(0, 0, getWidth(), getHeight());
		for (int i = 0; i < grid.getUI().getTowers().size(); i++) {
			if (grid.getUI().getTowers().get(i).clicked()) {
				if (getMouse().getY() > 0 && getMouse().getY() < getHeight()) {
					if (getMouse().getX() > 0 && getMouse().getX() < getWidth()) {
						int px = (int) (getMouse().getX() / grid.sideLength());
						int py = (int) (getMouse().getY() / grid.sideLength());
						g.setColor(new Color(119, 230, 127));
						if (grid.canBePlaced(px, py))
							if (!grid.getUI().on(getMouse()))
								g.fillRect(px * grid.sideLength() + 3, py
										* grid.sideLength() + 3,
										grid.sideLength() - 5,
										grid.sideLength() - 5);
					}
				}
			}
		}
		grid.draw(g);
		exitButton.draw(g);
		play.draw(g);
	}