public void createEnemyBullets(){
		enemies = new CopyOnWriteArrayList<Enemy>(enemylist);
		if(enemies.size()>0){
			for(Enemy e: enemies){
				if((e.enemyType==2)&&(e.canAttack==true)){
					Bullet b = new Bullet(e.posX + 16, e.posY+16, 10, false);
					b.setDirection(e.calcShotDirection());
					setImage(b);
					bulletsInRoom.add(b);
					window.pistolShot.start();
				}
			}
		}
	}