apply

open override fun <T : Any, P : Position2D<P>> apply(g: Graphics2D, node: Node<T>, environment: Environment<T, P>, wormhole: Wormhole2D<P>)(source)

Applies the effect.

Parameters

<T>

concentration type

<P>

position type

g

graphics

n

node

environment

environment

wormhole

the wormhole used to map environment's coords to screen coords