next property

EventScope get next

Gets the next entry.

Implementation

EventScope get next => switch (this) {
  .global => .globalNoEntities,
  .globalNoEntities => .scene,
  .scene => .sceneOnly,
  .sceneOnly => .local,
  .local => .self,
  .self => .global,
};