@pretty-chitty/core
    Preparing search index...

    Function Ordered

    • OrderedOutlets are ways to maintain a list of ordered chits on another (parent) chit. Adding or removing chits from the outlet will automatically update the parent/child relationships.

      This should only be used in conjunction with the @Ordered annotation.

      Preferred syntax:

      class MyChit extends Chit {

      @Ordered(new Vector3(1,2,-3))
      public tokens = new OrderedOutlet<Token>();

      }

      The optional parameter here is a Vector3 that indicates the position offset for the outlet.

      Parameters

      • ...args: any

      Returns any