public static void shootProjectile(String projectileName,
			Screen screen, int ref, TimeManager currentTime,
			int dist, Point shooterPosition) {
		
		if (projectileName.equals(ProjectileNames.CANNISTER_SHOT)) {
			Projectile canisterShot = new CanisterShot(screen, ref, currentTime);
			canisterShot.shoot(dist, shooterPosition);
			
		} else if (projectileName.equals(ProjectileNames.CARCASS)) {
			Projectile carcass = new Carcass(screen, ref, currentTime);
			carcass.shoot(dist, shooterPosition);
			
		} else if (projectileName.equals(ProjectileNames.CHAIN_SHOT)) {
			Projectile chainShot = new ChainShot(screen, ref, currentTime);
			chainShot.shoot(dist, shooterPosition);
			
		} else if (projectileName.equals(ProjectileNames.HEATED_SHOT)) {
			Projectile heatedShot = new HeatedShot(screen, ref, currentTime);
			heatedShot.shoot(dist, shooterPosition);
			
		} else if (projectileName.equals(ProjectileNames.SHRAPNEL)) {
			Projectile shrapnel = new Shrapnel(screen, ref, currentTime);
			shrapnel.shoot(dist, shooterPosition);
			
		} else if (projectileName.equals(ProjectileNames.SIMPLE_SHELL)) {
			Projectile simpleShell = new SimpleShell(screen, ref, currentTime);
			simpleShell.shoot(dist, shooterPosition);
		} else if (projectileName.equals(ProjectileNames.SPIDER_SHOT)) {
			Projectile spiderShot = new SpiderShot(screen, ref, currentTime);
			spiderShot.shoot(dist, shooterPosition);
			
		} else if (projectileName.equals(ProjectileNames.TRI_GRAPE_SHOT)) {
			Projectile triGrapeShot = new TriGrapeShot(screen, ref, currentTime);
			triGrapeShot.shoot(dist, shooterPosition);
			
		} else {
			System.out.println("Undefined projectile type");
		}
	}