Class SupportByFirePosition

    • Field Detail

      • position4

        protected Position position4
        Fourth control point.
    • Constructor Detail

      • SupportByFirePosition

        public SupportByFirePosition​(java.lang.String sidc)
        Create a new graphic.
        Parameters:
        sidc - Symbol code the identifies the graphic.
    • Method Detail

      • getSupportedGraphics

        public static java.util.List<java.lang.String> getSupportedGraphics()
        Indicates the graphics supported by this class.
        Returns:
        List of masked SIDC strings that identify graphics that this class supports.
      • setPositions

        public void setPositions​(java.lang.Iterable<? extends Position> positions)
        Specifies the positions of the control points that place and orient the graphic.
        Specified by:
        setPositions in interface TacticalGraphic
        Overrides:
        setPositions in class AttackByFirePosition
        Parameters:
        positions - Control points that orient the graphic. Must provide at least four points.
      • getPositions

        public java.lang.Iterable<? extends Position> getPositions()
        Indicates the positions of the control points that place and orient the graphic.
        Specified by:
        getPositions in interface TacticalGraphic
        Overrides:
        getPositions in class AttackByFirePosition
        Returns:
        positions that orient the graphic. How many positions are returned depends on the type of graphic. Some graphics require only a single position, others require many.