private void move(){
		xa = 0;
		ya = 0;		
		List<Player> players = level.getPlayers(this, 50);
		if(players.size() > 0){
		Player player = players.get(0);
			if(x < player.getX()) xa++;
			if(x > player.getX()) xa--;
			if(y < player.getY()) ya++;
			if(y > player.getY()) ya--;
		}
		if(xa != 0 || ya != 0){
			move(xa, ya);
			walking = true;
		} else {
			walking = false;
		}
	}