Package com.sirenian.hellbound.engine

Examples of com.sirenian.hellbound.engine.EngineQueue


    super.waitForIdle();
  }
 
    private void waitForAllQueuesToEmpty(World world) {
      Logger.debug(this, "Waiting for all queues to empty.");
        EngineQueue engineQueue = (ThreadedEngineQueue) world.get(WorldKey.ENGINE_QUEUE, null);
        GuiQueue guiQueue = (ThreadedSwingQueue) world.get(WorldKey.GUI_QUEUE, null);
       
        engineQueue.waitForIdle();
        guiQueue.waitForIdle();
    }
View Full Code Here


  public void setUpAnyTimeIn(World world) {
    DefaultWindowWrapper hellboundFrameWrapper = new DefaultWindowWrapper("HellboundFrame");   
    ForcedHeartbeat heartbeat = new ForcedHeartbeat();
    RenderedPit graphics = new RenderedPit(Hellbound.SCALE, Hellbound.WIDTH, Hellbound.HEIGHT, Hellbound.COLORMAP);
        EngineQueue engineQueue = new ThreadedEngineQueue();
        GuiQueue guiQueue = new ThreadedSwingQueue();
        PseudoRandomGlyphFactory glyphFactory = new PseudoRandomGlyphFactory(42, 7, 13);
   
        Hellbound hellbound = new Hellbound(engineQueue, guiQueue, heartbeat, createPitPanelWithDoublePaint(graphics), glyphFactory);
   
View Full Code Here

TOP

Related Classes of com.sirenian.hellbound.engine.EngineQueue

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.