private void move()
	{
		xa = 0;
		ya = 0;
		
		int px = (int) level.getPlayerAt(0).getX();
		int py = (int) level.getPlayerAt(0).getY();
		
		Vector2i start = new Vector2i((int) getX() >> 4, (int) getY() >> 4);
		Vector2i destination = new Vector2i(px >> 4, py >> 4);
		
		if(time % 5 == 0 ) { path = level.findPath(start, destination);}
		
		if(path != null)
		{
			if(path.size() > 0)
			{
				Vector2i vec = path.get(path.size() - 1).tile; 
				if(x < (vec.getX() << 4)) { xa++; }
				if(x > (vec.getX() << 4)) { xa--; }
				if(y < (vec.getY() << 4)) { ya++; }
				if(y > (vec.getY() << 4)) { ya--; }
				
//				System.out.println("Star: " + x + ", " + y);
//				System.out.println((vec.getX() << 4) + ", " + (vec.getY() << 4));
//				System.out.println(x < (vec.getX() << 4));
//				System.out.println(x > (vec.getX() << 4));
//				System.out.println(y < (vec.getY() << 4));
//				System.out.println(y > (vec.getY() << 4));
//				System.out.println("xa: " + xa + " ya: " + ya);
			}
		}
		
		if(xa != 0 || ya != 0)
		{
			move(xa, ya);
			walking = true;
		}
		else { walking = false; }
	}