public void moveToTarget(){
		int px = target.getX();
		int py = target.getY();
		
		int tileSize = World.current.tileSize;
		
		Vector2 start = new Vector2(getX() / tileSize, getY() / tileSize);
		Vector2 goal = new Vector2(px / tileSize, py / tileSize);
		
		path = World.current.findPath(start, goal);
		
		
		if(path != null){
			if(path.size() > 0){
				
				Vector2 vec = path.get(path.size() - 1).tile;
				if(position.x < (vec.x * tileSize)){
					move(1, 0);
				}
				
				if(position.x > (vec.x * tileSize)){
					move(-1, 0);
				}
				
				if(position.y < (vec.y * tileSize)){
					move(0, 1);
				}
				
				if(position.y > (vec.y * tileSize)){
					move(0, -1);
				}
				
			}
		}
	}