Package org.gbcpainter.view.draw

Examples of org.gbcpainter.view.draw.RedrawJob


  private void startFadeout( @NotNull final Runnable delayedAction ) {
    new Thread( new Runnable() {
      @Override
      public void run() {
        final RedrawJob drawJob;
        synchronized (GameHolder.this) {
          drawJob = GameHolder.this.redrawer;
        }
        if ( drawJob != null ) {
          final long time = drawJob.startFadeOut();
          try {
            Thread.sleep( Math.max( 0, time - BEFORE_FADEOUT_END_VIEW_SWITCH ) );
          } catch ( InterruptedException ignored ) {}
        }
View Full Code Here

TOP

Related Classes of org.gbcpainter.view.draw.RedrawJob

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.