public void processFire(AbstractTank tank) throws Exception {
		bullet = new Bullet(tank.getX() + 25, tank.getY() + 25,
				tank.getDirection());
		int covered = 0;
		int step = 1;

		while (bullet.getX() > 0 && bullet.getX() <= 576 && bullet.getY() > 0
				&& bullet.getY() <= 576) {
			while (covered < 64) {

				if (bullet.getDirection() == Direction.UP) {
					bullet.updateY(-step);
				} else if (bullet.getDirection() == Direction.DOWN) {
					bullet.updateY(step);

				} else if (bullet.getDirection() == Direction.LEFT) {
					bullet.updateX(-step);

				} else {
					bullet.updateX(step);
				}
				covered += step;

				repaint();
				Thread.sleep(bullet.getSpeed());
			}
			covered = 0;
			if (processInterception(bullet)) {
				repaint();
				Thread.sleep(bullet.getSpeed());

			}
		}
	}