Package 

Interface EffectFX

  • All Implemented Interfaces:
    java.io.Serializable

    
    public interface EffectFX<P extends Position2D<out P>>
     implements Serializable
                        

    Graphical visualization of something happening in the environment.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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 String getName() Gets the name of the effect.
      abstract void setName(String name) Sets the name of the effect.
      abstract boolean isVisible() Gets the visibility of the effect.
      abstract void setVisibility(boolean visibility) Sets the visibility of the effect.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • 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