Package sim.engine

Interface MakesSimState


public interface MakesSimState
An interface for classes capable of creating SimState subclasses. Typically you wouldn't use this interface; but rather it is used internaly in the SimState.doLoop methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the constructors of the SimState subclass that will be generated.
    newInstance(long seed, String[] args)
    Creates a SimState subclass with the given random number seed and command-line arguments passed into main(...).
    Returns the class of the SimState subclass that will be generated.
  • Method Details

    • newInstance

      SimState newInstance(long seed, String[] args)
      Creates a SimState subclass with the given random number seed and command-line arguments passed into main(...).
    • simulationClass

      Class simulationClass()
      Returns the class of the SimState subclass that will be generated.
    • getConstructors

      Constructor[] getConstructors()
      Returns the constructors of the SimState subclass that will be generated.