Interface InputSystemBuilder.Callback

Enclosing class:
InputSystemBuilder
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface InputSystemBuilder.Callback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(EntityChunk chunk, Input input, float deltaTime)
    Updates a single entity's data based on input, each frame.
  • Method Details

    • run

      void run(EntityChunk chunk, Input input, float deltaTime)
      Updates a single entity's data based on input, each frame.
      Parameters:
      chunk - Entity that matches this system's query
      deltaTime - Delta time in seconds