Class SleepNotificationSystem

All Implemented Interfaces:
ISystem<EntityStore>, TickableSystem<EntityStore>

public class SleepNotificationSystem extends DelayedSystem<EntityStore>
  • Field Details

  • Constructor Details

    • SleepNotificationSystem

      public SleepNotificationSystem()
  • Method Details

    • delayedTick

      public void delayedTick(float dt, int systemIndex, @NonNullDecl Store<EntityStore> store)
      Description copied from class: DelayedSystem
      A tick method called once every interval provided by the constructor DelayedSystem(float).
      Specified by:
      delayedTick in class DelayedSystem<EntityStore>
      Parameters:
      dt - The delta time in seconds since the last call to this method.
      systemIndex - The index of this system, used for faster lookups in Store.
      store - The store calling this method.
    • maybeDoNotification

      public static void maybeDoNotification(Store<EntityStore> store, boolean fromAutoLoop)
    • getSleeperName

      public static Message getSleeperName(@Nullable Ref<EntityStore> ref)