Interface LogicFragment

All Superinterfaces:
Fragment

public interface LogicFragment extends Fragment
A fragment that with a single update method that is called every frame during the application logic update loop. This can be used to perform game logic updates including updating the scene graph, processing inputs, attaching and using controls or other components, etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    updateAppLogic(float tpf)
    Called by the application logic update loop.
  • Method Details

    • updateAppLogic

      void updateAppLogic(float tpf)
      Called by the application logic update loop. This method is called every frame before the render phase.
      Parameters:
      tpf - time per frame