environment

Convenience overload that installs a default Continuous2DEnvironment and configures it via block.

This function is available only when an Incarnation for Euclidean2DPosition is in scope, and it delegates to SimulationContext.environment by creating a new environment through continuous2DEnvironment.

Parameters

block

the environment configuration block executed with the created environment as a context receiver.