Package jexer.effect

Class WindowBurnInEffect

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int columns
      The number of columns in the plasma field.
      protected int fadeTime
      Maximum time before fading.
      protected int[] PALETTE
      The plasma colors, from dimmest to brightest.
      protected int[][] plasma
      The plasma fire field.
      protected int rows
      The number of rows in the plasma field.
      protected long startTime
      Time since effect began.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void drawEffect()
      The draw function called by the DummyScreen.
      boolean isCompleted()
      If true, the effect is completed and can be removed.
      void update()
      Update the effect.
      • Methods inherited from class java.lang.Object

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

      • PALETTE

        protected final int[] PALETTE
        The plasma colors, from dimmest to brightest.
      • plasma

        protected int[][] plasma
        The plasma fire field.
      • rows

        protected int rows
        The number of rows in the plasma field.
      • columns

        protected int columns
        The number of columns in the plasma field.
      • startTime

        protected long startTime
        Time since effect began.
      • fadeTime

        protected int fadeTime
        Maximum time before fading.
    • Constructor Detail

      • WindowBurnInEffect

        public WindowBurnInEffect​(TWindow window)
        Public contructor.
        Parameters:
        window - the window to burn in
    • Method Detail

      • update

        public void update()
        Update the effect.
      • isCompleted

        public boolean isCompleted()
        If true, the effect is completed and can be removed.
        Returns:
        true if this effect is finished