$tick method

void $tick(
  1. double delta
)

TODO: need to find a way to reference the window. (Internal usage) Updates the Stage object and dispatches the enterFrame event with the delta time since the last frame, in seconds.

Implementation

//  GxRect getScreenBounds(DisplayObject targetSpace, [GxRect out]) {
//    out ??= GxRect();
//    out.setTo(0, 0, stageWidth, stageHeight);
//    getTransformationMatrix(targetSpace, _sMatrix);
//    return out.getBounds(_sMatrix, out);
//  }

/// (Internal usage)
/// Updates the [Stage] object and dispatches the `enterFrame` event with
/// the [delta] time since the last frame, in seconds.
void $tick(double delta) {
  $onEnterFrame?.dispatch(delta);
  super.update(delta);
}