Class CameraInjectVisibleNodeClosestToDistance

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

    
    public final class CameraInjectVisibleNodeClosestToDistance
    extends AbstractAction<Any>
                        

    Given a list of VisibleNode associated to visionMolecule, it finds the closest to a point located at distance from node in the direction of node's heading, and injects its position in targetMolecule.

    If there are no VisibleNodes, targetMolecule will be removed from node.