@Override
	public void mousePerformed(String action, double x, double y) {
		if (x < width * Cell.CELL_WIDTH && y < height * Cell.CELL_HEIGHT && x >= 0 && y >= 0) {
			if (action.equals("pressed")) {
				if (setChar) {
					charX = (int) x - 20;
					charY = (int) y - 5;
					setChar = false;
				}
			}
			if (action.equals("dragged")) {
				add((int) x, (int) y);
			}
		}
		draw();
	}