public void update(){
		if(Input.up){
			direction = 1;
			winCollision_Rect = new Rectangle(position.x, position.y, 50, 12);
		} else if(Input.right){
			direction = 2;
			winCollision_Rect = new Rectangle(position.x + 38, position.y, 12, 50);
		} else if(Input.down){
			direction = 3;
			winCollision_Rect = new Rectangle(position.x, position.y + 38, 50, 12);
		} else if(Input.left){
			direction = 4;
			winCollision_Rect = new Rectangle(position.x, position.y, 12, 50);
		}
	}