Put check on player's ability of moving on a square into own function. Checking for terrain types too.