HeadTowardRandomDirection
class HeadTowardRandomDirection<T>( node: Node<T>, environment: Physics2DEnvironment<T>, randomGenerator: RandomGenerator) : AbstractAction<T>
Content copied to clipboard
Changes the heading of node randomly. The environment must support node heading, hence, be a Physics2DEnvironment.
Constructors
Link copied to clipboard
fun <T> HeadTowardRandomDirection( node: Node<T>, environment: Physics2DEnvironment<T>, randomGenerator: RandomGenerator)
Content copied to clipboard