public void go(int dir, float n,int image) {
		float temp = n;
		
			if(crouch == true){
				temp /= 2;
				if (current != image) {
					removeAnimation(crouching[current]);
					current = image;
					addAnimation(crouching[current]);
					currentAnimation = crouching[current];
				}
				if (crouching[current].isStopped()) crouching[current].start();
				

			}
			else{
			
				if (current != image) {
					removeAnimation(walking[current]);
					current = image;
					addAnimation(walking[current]);
					currentAnimation = walking[current];
				}
				if (walking[current].isStopped()) walking[current].start();
			
			}
		
		
		
	
		float x, y;
		if (dir < 2) {x = temp; y = 0;} 
		else {x = 0; y=temp;}
		if (dir % 2 == 0) {x = -x; y = -y;}
		
		lastWPosition = getPosition();
		setPosition(lastWPosition.add(new Vector(x,y)));
	}