... //move the player with the new values of dX and dZ (order of collisions: Y-X-Z) } </syntaxhighlight>