# Class TimeStep

java.lang.Object
com.codename1.gaming.physics.box2d.dynamics.TimeStep

public class TimeStep extends Object
This is an internal structure.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `float`
  `dt`
  time step
  `float`
  `dtRatio`
  dt * inv_dt0
  `float`
  `inv_dt`
  inverse time step (0 if dt == 0).
  `int`
  `positionIterations`
  `int`
  `velocityIterations`
  `boolean`
  `warmStarting`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TimeStep()`

- ## Method Summary

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### dt

    public float dt
    time step

  - ### inv_dt

    public float inv_dt
    inverse time step (0 if dt == 0).

  - ### dtRatio

    public float dtRatio
    dt * inv_dt0

  - ### velocityIterations

    public int velocityIterations

  - ### positionIterations

    public int positionIterations

  - ### warmStarting

    public boolean warmStarting

- ## Constructor Details

  - ### TimeStep

    public TimeStep()