alchemist-interfaces / it.unibo.alchemist.model.interfaces / Environment / moveNodeToPosition

moveNodeToPosition

abstract fun moveNodeToPosition(node: Node<T>!, position: P): Unit

This method moves a node in the environment to some position. If node move is unsupported, it does nothing.

Parameters

node - Node<T>!: The node to move

position - P: The absolute position in which this node will be moved.