HeadTowardRandomDirection
class HeadTowardRandomDirection<T>(node: Node<T>, environment: Physics2DEnvironment<T>, randomGenerator: RandomGenerator) : AbstractAction<T> (source)
Changes the heading of node randomly. The environment must support node heading, hence, be a Physics2DEnvironment.