Interface IEffect

    • Method Detail

      • doEffect

        void doEffect()
        Apply effect to the target according to the current time.
      • isDone

        boolean isDone()
        Returns:
        true if the effect as already reached its end.
      • cancel

        void cancel()
        Set the effect as done and run the cancel runnable.