Class Manager.ManagerWithListeners<T>

java.lang.Object
com.prineside.tdi2.Manager.ManagerWithListeners<T>
All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, Manager
Direct Known Subclasses:
AuthManager, MessageManager
Enclosing interface:
Manager

public abstract static class Manager.ManagerWithListeners<T> extends Object implements Manager
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.prineside.tdi2.Manager

    Manager.ManagerAdapter, Manager.ManagerWithListeners<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.badlogic.gdx.utils.DelayedRemovalArray<T>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addListener(T listener)
     
    void
    Очистить пул объектов (кэшированные инстансы сущностей и тп)
    void
    Releases all resources of this object.
    void
    postRender(float deltaTime)
    Вызывается после отрисовки и обновления экрана
    void
    preRender(float deltaTime)
    Вызывается перед любыми обновлениями и отрисовками экранов и систем
    void
    removeListener(T listener)
     
    void
    Вызывается, когда объекты всех менеджеров созданы и можно к ним обращаться
    void
    Запустить тестирование, чтобы проверить, все ли ресурсы есть (текстуры / i18n) Запускается после загрузки всех менеджеров

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • listeners

      protected final com.badlogic.gdx.utils.DelayedRemovalArray<T> listeners
  • Constructor Details

    • ManagerWithListeners

      public ManagerWithListeners()
  • Method Details

    • addListener

      public void addListener(T listener)
    • removeListener

      public void removeListener(T listener)
    • setup

      public void setup()
      Description copied from interface: Manager
      Вызывается, когда объекты всех менеджеров созданы и можно к ним обращаться
      Specified by:
      setup in interface Manager
    • preRender

      public void preRender(float deltaTime)
      Description copied from interface: Manager
      Вызывается перед любыми обновлениями и отрисовками экранов и систем
      Specified by:
      preRender in interface Manager
    • postRender

      public void postRender(float deltaTime)
      Description copied from interface: Manager
      Вызывается после отрисовки и обновления экрана
      Specified by:
      postRender in interface Manager
    • test

      public void test()
      Description copied from interface: Manager
      Запустить тестирование, чтобы проверить, все ли ресурсы есть (текстуры / i18n) Запускается после загрузки всех менеджеров
      Specified by:
      test in interface Manager
    • dispose

      public void dispose()
      Description copied from interface: com.badlogic.gdx.utils.Disposable
      Releases all resources of this object.
      Specified by:
      dispose in interface com.badlogic.gdx.utils.Disposable
    • clearPools

      public void clearPools()
      Description copied from interface: Manager
      Очистить пул объектов (кэшированные инстансы сущностей и тп)
      Specified by:
      clearPools in interface Manager