-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.interfaces.Action,java.io.Serializable
public final class Spin<T extends Object> extends AbstractAction<T>
Spins a node around itself at angularSpeedDegrees normalized according to the speed of the reaction.
-
-
Method Summary
Modifier and Type Method Description Spin<T>cloneAction(Node<T> node, Reaction<T> reaction)Unitexecute()Spins the node around itself. ContextgetContext()-
Methods inherited from class it.unibo.alchemist.model.implementations.actions.Spin
declareDependencyTo, getConcentration, getNode, getOutboundDependencies, nodeContains, removeConcentration, setConcentration, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-