code: function(direction){
              var coord = RL.Util.getOffsetCoordsFromDirection(direction);
              return [coord.x, coord.y];
          }
docs: Converts a string direction to an rot direction
  @method directionStringToArray
  @param {String} direction - Direction of fov (used as default) (not used for fieldRange 360) valid directions: ['up', 'down', 'left', 'right', 'up_left', 'up_right', 'down_left', 'down_right'].
  @return {Array} [x, y]