Package-level declarations
Types
Link copied to clipboard
class HeadTowardRandomDirection<T>(node: Node<T>, environment: Physics2DEnvironment<T>, randomGenerator: RandomGenerator) : AbstractAction<T>
Changes the heading of node randomly. The environment must support node heading, hence, be a Physics2DEnvironment.
Link copied to clipboard
class HeadTowardTarget<T> @JvmOverloads constructor(node: Node<T>, environment: Physics2DEnvironment<T>, reaction: Reaction<T>, target: Molecule, angularSpeedDegrees: Double = 360.0) : AbstractAction<T>
Link copied to clipboard
class Spin<T>(node: Node<T>, reaction: Reaction<T>, environment: Physics2DEnvironment<T>, angularSpeedDegrees: Double) : AbstractAction<T>
Spins a node around itself at angularSpeedDegrees normalized according to the speed of the reaction.