public void changeCharacter() {
		Cell[][] cells = map.getCells();

		int x = 0;
		int y = 0;
		for (x = 0; x < cells.length; x++) {
			for (y = 0; y < cells[x].length; y++) {
				if (map.getCell(x, y).getUnit() instanceof Tank) {
					((Tank) map.getCell(x, y).getUnit()).nextImage();
				} else if (map.getCell(x, y).getUnit() instanceof Marine) {
					((Marine) map.getCell(x, y).getUnit()).nextImage();

				}
			}
		}
	}