Debug

JActor2 has a debug mode. And when running in debug mode, additional checking is done that
is likely too slow for production use. But it can be great when testing.
Debug mode is set by assigning "true" to the jactor.debug system property.
For example, you can turn debug mode on by adding this parameter when running JActor2:

-Djactor.debug=true

Configuration

When no other configuration is specified, the
PlantConfiguration
PlantConfiguration
class is used.

To change the configuration, you first subclass PlantConfiguration.
You can then create an instance of the subclass and pass it as a parameter to the
Plant
constructor. Or you can set a system property to the name of the subclass when running JActor: