Module org.dyn4j

Interface StepListener

  • All Superinterfaces:
    Listener
    All Known Implementing Classes:
    StepAdapter

    @Deprecated
    public interface StepListener
    extends Listener
    Deprecated.
    Deprecated in 4.0.0. Use the StepListener in the world package instead.
    Listener notified before and after a simulation step by the World.

    Modification of the World is permitted in any of these methods.

    Since:
    1.0.0
    Version:
    4.0.0
    Author:
    William Bittle
    • Method Detail

      • begin

        void begin​(Step step,
                   World world)
        Deprecated.
        Called before a simulation step is performed.
        Parameters:
        step - the step information
        world - the simulation World
      • postSolve

        void postSolve​(Step step,
                       World world)
        Deprecated.
        Called after the world has been solved but before new contacts are found.
        Parameters:
        step - the step information
        world - the simulation World
        Since:
        3.2.0
      • end

        void end​(Step step,
                 World world)
        Deprecated.
        Called after a simulation step has been performed.
        Parameters:
        step - the step information
        world - the simulation World