public void getWalkingAnimation(int direction){ 
		
		removeAnimation(currentAnimation);
		

		if(crouch){
			
			addAnimation(crouching[current]);
			currentAnimation = crouching[current];


			if (current != direction){
				removeAnimation(crouching[current]);
				current = direction;
				addAnimation(crouching[current]);
				currentAnimation = crouching[current];
			}
			if (crouching[current].isStopped()){
				crouching[current].start();
			}
		}else{
			
			addAnimation(walking[current]);
			currentAnimation = walking[current];

			if (current != direction) {
				removeAnimation(walking[current]);
				current = direction;
				addAnimation(walking[current]);
				currentAnimation = walking[current];

			} 
			if(walking[current].isStopped()){
				walking[current].start();
			}
		}
	}