-
- All Implemented Interfaces:
-
java.io.Serializable
@Deprecated() public interface Effect implements Serializable
-
-
Method Summary
Modifier and Type Method Description voidapply(Graphics2D graphic, Node<out Object> node, int x, int y)Applies the effect. <T, P extends Position2D<P>> voidapply(Graphics2D g, Node<T> n, Environment<T, P> env, Wormhole2D<P> wormhole)Applies the effect. abstract ColorgetColorSummary()abstract inthashCode()abstract booleanequals(Object obj)-
-
Method Detail
-
apply
@Deprecated() void apply(Graphics2D graphic, Node<out Object> node, int x, int y)
Applies the effect.
- Parameters:
graphic- Graphics2D to usenode- the node to drawx- x screen positiony- 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- graphicsn- nodeenv- environmentwormhole- the wormhole used to map environment's coords to screen coords
-
getColorSummary
abstract Color getColorSummary()
-
hashCode
abstract int hashCode()
-
-
-
-