.. DirLoop .. default - domain::js .. include:: /includes/standard.rst ================ DirLoop (Kernel) ================ .. function:: DirLoop(view heading) :param heapPtr view: The view object. :param number heading: The direction the view is facing. Sets the loop of the :class:`View` based on the heading angle provided. (i.e. if it's east, cel 0 is used).