-
- All Implemented Interfaces:
-
java.io.Serializable
public interface EffectFX<P extends Position2D<out P>> implements Serializable
Graphical visualization of something happening in the environment.
-
-
Method Summary
Modifier and Type Method Description abstract <T> Queue<DrawCommand<P>>computeDrawCommands(Environment<T, P> environment)Computes a queue of commands to Draw something. abstract StringgetName()Gets the name of the effect. abstract voidsetName(String name)Sets the name of the effect. abstract booleanisVisible()Gets the visibility of the effect. abstract voidsetVisibility(boolean visibility)Sets the visibility of the effect. -
-
Method Detail
-
computeDrawCommands
abstract <T> Queue<DrawCommand<P>> computeDrawCommands(Environment<T, P> environment)
Computes a queue of commands to Draw something.
- Parameters:
environment- the environment to gather data from
-
setName
abstract void setName(String name)
Sets the name of the effect.
- Parameters:
name- the name of the effect to set
-
isVisible
abstract boolean isVisible()
Gets the visibility of the effect.
-
setVisibility
abstract void setVisibility(boolean visibility)
Sets the visibility of the effect.
- Parameters:
visibility- the visibility of the effect to set
-
-
-
-