It is assumed, that the original heading direction (DIR) is along the Y-axis. Turning right (R) shifts the direction clockwise around. Turning left (L) shifts the direction counter clockwise to the 'left'. Turning back (B) shifts the direction . A translation of the above mentioned command file 8.5 in a simple area is given in figure 8.6:
It is further assumed that the movement manager doesn't make a movement if the moving object is located at a boarder of the moving area and wants to move beyond the boarder. Boarders act like walls in the real world.