Module org.dyn4j

Class StepAdapter

    • Constructor Summary

      Constructors 
      Constructor Description
      StepAdapter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void begin​(Step step, World world)
      Called before a simulation step is performed.
      void end​(Step step, World world)
      Called after a simulation step has been performed.
      void postSolve​(Step step, World world)
      Called after the world has been solved but before new contacts are found.
      void updatePerformed​(Step step, World world)
      Called after collision detection and contact updates have been performed due to a call to the World.setUpdateRequired(boolean) passing true.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StepAdapter

        public StepAdapter()
    • Method Detail

      • begin

        public void begin​(Step step,
                          World world)
        Description copied from interface: StepListener
        Called before a simulation step is performed.
        Specified by:
        begin in interface StepListener
        Parameters:
        step - the step information
        world - the simulation World
      • postSolve

        public void postSolve​(Step step,
                              World world)
        Description copied from interface: StepListener
        Called after the world has been solved but before new contacts are found.
        Specified by:
        postSolve in interface StepListener
        Parameters:
        step - the step information
        world - the simulation World
      • end

        public void end​(Step step,
                        World world)
        Description copied from interface: StepListener
        Called after a simulation step has been performed.
        Specified by:
        end in interface StepListener
        Parameters:
        step - the step information
        world - the simulation World