public void setImage(Bullet b){
		switch(b.getDirection()){
		case(0):
			b.image = bulletpics[6];
			break;
		case(1):
			b.image = bulletpics[3];
			break;
		case(2):
			b.image = bulletpics[4];
			break;
		case(3):
			b.image = bulletpics[1];
			break;
		case(4):
			b.image = bulletpics[5];
			break;
		case(5):
			b.image = bulletpics[7];
			break;
		case(6):
			b.image = bulletpics[2];
			break;
		case(7):
			b.image = bulletpics[0];
			break;
		}
	}