ImageEnvironment

constructor(incarnation: Incarnation<T, Euclidean2DPosition>, path: String, zoom: Double = DEFAULT_ZOOM, dx: Double = DEFAULT_DELTA_X, dy: Double = DEFAULT_DELTA_Y, obstacleColor: Int = DEFAULT_COLOR)

Parameters

incarnation

the incarnation to be used.

path

the path where to load the image from: a classpath resource or a local file path.

zoom

zoom level.

dx

delta X position.

dy

delta Y position.

obstacleColor

integer representing the RGB color of the obstacles in the image, encoded as in Color.getRGB.

Type Parameters

T

concentration type