public BulletHandler(GameWindow w){

		window = w;	
		panel = window.panel;
		initBulletHandler();

		controls = window.controls;
		player = window.player;

		firerate =0;

		try{
			int index =0;
			bulletpics = new BufferedImage[8];

			BufferedImage bulletset = ImageIO.read(getClass().getResource("resources/bulletversuch.gif"));
			for(int a = 0;a <= 2; a++){
				for(int b = 0; b <= 2; b++){
					if(((a==1)&&(b==1))==false){
						BufferedImage i = bulletset.getSubimage(a*3, b*3, 3,3);
						bulletpics[index] = i;
						index++;
					}
				}
			}

		}catch(IOException e){
			e.printStackTrace();
		}
	}