Package 

Class Spin

  • 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Spin<T> cloneAction(Node<T> node, Reaction<T> reaction)
      Unit execute() Spins the node around itself.
      Context getContext()
      • 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