Head Toward Random Direction
class HeadTowardRandomDirection<T>(node: Node<T>, environment: Physics2DEnvironment<T>, randomGenerator: <Error class: unknown class>) : AbstractAction<T>
Changes the heading of node randomly. The environment must support node heading, hence, be a Physics2DEnvironment.
Constructors
Link copied to clipboard
constructor(node: Node<T>, environment: Physics2DEnvironment<T>, randomGenerator: <Error class: unknown class>)