Package 

Class DrawSmartcam

  • All Implemented Interfaces:
    it.unibo.alchemist.boundary.gui.effects.Effect , java.io.Serializable

    
    public final class DrawSmartcam
     implements Effect
                        

    Draws node's shapes and cameras' fields of view.

    • Method Summary

      Modifier and Type Method Description
      <T, P extends Position2D<P>> void apply(Graphics2D graphics, Node<T> node, Environment<T, P> environment, Wormhole2D<P> wormhole) Applies the effect.
      Color getColorSummary()
      • Methods inherited from class it.unibo.alchemist.boundary.gui.effects.Effect

        apply, apply, equals, hashCode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • apply

         <T, P extends Position2D<P>> void apply(Graphics2D graphics, Node<T> node, Environment<T, P> environment, Wormhole2D<P> wormhole)

        Applies the effect.

        Parameters:
        wormhole - the wormhole used to map environment's coords to screen coords