Package 

Class DrawOnce

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

    
    public abstract class DrawOnce
     implements Effect
                        

    Effects are normally applied for each node, this is a base class for effects that do not need to be redrawn for each node. In other words, this effect will be applied for a single node instead of redrawing for all of them.

    • 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.
      Integer getMarkerNodeID()
      • Methods inherited from class it.unibo.alchemist.boundary.gui.effects.Effect

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait