Package 

Interface Effect

    • Method Summary

      Modifier and Type Method Description
      void apply(Graphics2D graphic, Node<out Object> node, int x, int y) Applies the effect.
      <T, P extends Position2D<P>> void apply(Graphics2D g, Node<T> n, Environment<T, P> env, Wormhole2D<P> wormhole) Applies the effect.
      abstract Color getColorSummary()
      abstract int hashCode()
      abstract boolean equals(Object obj)
      • Methods inherited from class java.lang.Object

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

      • apply

        @Deprecated() void apply(Graphics2D graphic, Node<out Object> node, int x, int y)

        Applies the effect.

        Parameters:
        graphic - Graphics2D to use
        node - the node to draw
        x - x screen position
        y - y screen position
      • apply

         <T, P extends Position2D<P>> void apply(Graphics2D g, Node<T> n, Environment<T, P> env, Wormhole2D<P> wormhole)

        Applies the effect.

        Parameters:
        g - graphics
        n - node
        env - environment
        wormhole - the wormhole used to map environment's coords to screen coords