public final class ExampleFPSStyleSimulation extends Object implements ExampleFPSStyleSimulationType
| Constructor and Description |
|---|
ExampleFPSStyleSimulation(ExampleRendererControllerType in_renderer)
$example: Construct a new simulation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
cameraIsEnabled() |
void |
cameraSetEnabled(boolean b)
Enable/disable the camera.
|
JCameraFPSStyleType |
getCamera() |
float |
getDeltaTime() |
JCameraFPSStyleInputType |
getInput() |
JCameraFPSStyleIntegratorType |
getIntegrator() |
JCameraFPSStyleSnapshot |
integrate()
$example: Integrate the camera.
|
public ExampleFPSStyleSimulation(ExampleRendererControllerType in_renderer)
in_renderer - The interface to the rendererpublic JCameraFPSStyleSnapshot integrate()
integrate in interface ExampleFPSStyleSimulationTypepublic boolean cameraIsEnabled()
cameraIsEnabled in interface ExampleFPSStyleSimulationTypetrue if the camera is enabled.public void cameraSetEnabled(boolean b)
ExampleFPSStyleSimulationTypecameraSetEnabled in interface ExampleFPSStyleSimulationTypeb - true if the camera should be enabled.public float getDeltaTime()
getDeltaTime in interface ExampleFPSStyleSimulationTypepublic JCameraFPSStyleInputType getInput()
getInput in interface ExampleFPSStyleSimulationTypepublic JCameraFPSStyleIntegratorType getIntegrator()
getIntegrator in interface ExampleFPSStyleSimulationTypepublic JCameraFPSStyleType getCamera()
getCamera in interface ExampleFPSStyleSimulationTypeCopyright © 2016 <code@io7m.com> http://io7m.com