refactoring switchMap. Renaming of functions "playerStepTo..." to "canStepTo..."