Package com.io7m.jcamera.examples.jogl

# Interface ExampleFPSStyleSimulationType

All Known Implementing Classes:
  `ExampleFPSStyleSimulation`

public interface ExampleFPSStyleSimulationType
The interface to simulations (with fps-style cameras) exposed to JOGL.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `cameraIsEnabled()`
  `void`
  `cameraSetEnabled(boolean b)`
  Enable/disable the camera.
  `JCameraFPSStyleType`
  `getCamera()`
  `float`
  `getDeltaTime()`
  `JCameraFPSStyleInputType`
  `getInput()`
  `JCameraFPSStyleIntegratorType`
  `getIntegrator()`
  `JCameraFPSStyleSnapshot`
  `integrate()`

- ## Method Details

  - ### cameraIsEnabled

    boolean cameraIsEnabled()
    Returns:
      `true` if the camera is enabled.

  - ### cameraSetEnabled

    void cameraSetEnabled(boolean b)
    Enable/disable the camera.
    Parameters:
      `b` - `true` if the camera should be enabled.

  - ### getCamera

    JCameraFPSStyleType getCamera()
    Returns:
      The camera used for the simulation.

  - ### getDeltaTime

    float getDeltaTime()
    Returns:
      The simulation delta time

  - ### getInput

    JCameraFPSStyleInputType getInput()
    Returns:
      The camera input

  - ### getIntegrator

    JCameraFPSStyleIntegratorType getIntegrator()
    Returns:
      The integrator used for the camera.

  - ### integrate

    JCameraFPSStyleSnapshot integrate()
    Returns:
      A new camera snapshot