HeadTowardRandomDirection
class HeadTowardRandomDirection<T>(reaction: NodeReaction<T>, environment: Physics2DEnvironment<T>, randomGenerator: RandomGenerator) : AbstractLocalAction<T> (source)
Changes the heading of the node owning this action randomly. The environment must support node heading, hence, be a Physics2DEnvironment.
Constructors
Link copied to clipboard
constructor(reaction: NodeReaction<T>, environment: Physics2DEnvironment<T>, randomGenerator: RandomGenerator)