public void bulletTrain(){
		int loop;
		int moveLoop;
		for (loop = 0; loop < shotsFired.size(); loop++){
			if (spawnedWave.IDscanner(shotsFired.get(loop).getTarget())){
				shotsFired.get(loop).targetTracker(spawnedWave.enemiesPresent.get(spawnedWave.IDTracker(shotsFired.get(loop).getTarget())).getLocX()+spawnedWave.getSize()/2, spawnedWave.enemiesPresent.get(spawnedWave.IDTracker(shotsFired.get(loop).getTarget())).getLocY()+spawnedWave.getSize()/2); 
				for (moveLoop = 0; moveLoop < 2; moveLoop++){
					shotsFired.get(loop).move();
					if (shotsFired.get(loop).bulletHit()){
						spawnedWave.enemiesPresent.get(spawnedWave.IDTracker(shotsFired.get(loop).getTarget())).wasAttacked(shotsFired.get(loop).attackDamage(), playerRace);
						if (!spawnedWave.enemiesPresent.get(spawnedWave.IDTracker(shotsFired.get(loop).getTarget())).stillPresent() && !spawnedWave.enemiesPresent.get(spawnedWave.IDTracker(shotsFired.get(loop).getTarget())).portalPassing()){
							player.moneyGain(spawnedWave.enemiesPresent.get(spawnedWave.IDTracker(shotsFired.get(loop).getTarget())).moneySalvaged());
							spawnedWave.enemiesPresent.remove((spawnedWave.IDTracker(shotsFired.get(loop).getTarget())));
						}
						moveLoop = 2;
						shotsFired.remove(loop);
					}
					repaint();
				}
			}
			else{
				shotsFired.remove(loop);
			}
		}
	}