public void move(int xa, int ya) {
		System.out.println("Size: " + level.getProjectiles().size());
		if (xa != 0 && ya !=0) {
			move(xa, 0);
			move(0, ya);
			return; 
		}
		
		//right
		if (xa > 0) dir =1;
		//left
		if (xa < 0) dir =3;
		//down
		if (ya > 0) dir =2;
		//up
		if (ya < 0) dir =0;

		if (!collision(xa, ya)) {
			x += xa;
			y += ya;
		} else {
			Particle p = new Particle(x, y, 50, 50);
			level.add(p);
		}

	}