prepare

open override fun <T, P : Position2D<P>> prepare(effect: DrawLayersValues, toDraw: Collection<Layer<T, P>>, environment: Environment<T, P>, g: Graphics2D, wormhole: Wormhole2D<P>)(source)

Prepare the mapping (if necessary).