Package 

Class SingleRunApp

  • All Implemented Interfaces:

    
    public class SingleRunApp<T, P extends Position2D<P>>
    extends Application
                        

    The class models a non-reusable GUI for simulation display.

    • Constructor Detail

    • Method Detail

      • setParams

         void setParams(Array<String> params)

        The method sets the parameters. All previously add params will be removed.

        Parameters:
        params - the params
      • setSimulation

         void setSimulation(Simulation<T, P> simulation)

        Setter method for simulation.

        Parameters:
        simulation - the simulation this Application will display
      • addParam

         void addParam(String name, String value)

        The method adds a new named parameter.

        Parameters:
        name - the param name
        value - the param value
      • start

         void start(Stage primaryStage)
      • addEffectGroups

         void addEffectGroups(String path)

        Adds effect from a file.

        Parameters:
        path - the path of the collection of EffectGroups.