Package 

Class HeadTowardTarget

  • All Implemented Interfaces:
    it.unibo.alchemist.model.interfaces.Action , java.io.Serializable

    
    public final class HeadTowardTarget<T extends Object>
    extends AbstractAction<T>
                        

    Reads the target's absolute coordinates from the target molecule contained in node and sets the node's heading accordingly.

    • 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
      HeadTowardTarget<T> cloneAction(Node<T> node, Reaction<T> reaction)
      Unit execute() Sets the heading of the node according to the target molecule.
      Context getContext()
      • Methods inherited from class it.unibo.alchemist.model.implementations.actions.HeadTowardTarget

        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