Package org.newdawn.slick

Examples of org.newdawn.slick.AppGameContainer


   *
   * @param argv The arguments provided to the test
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new SoundTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here


   *
   * @param argv The arguments passed in the test
   */
  public static void main(String[] argv) {
    try {
      container = new AppGameContainer(new PureFontTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
View Full Code Here

   *
   * @param argv The arguments to pass into the test
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new InputProviderTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

   *
   * @param argv The arguments to pass into the test
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new FlashTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

  public static void main(String[] argv) {
    try {
      Renderer.setLineStripRenderer(Renderer.QUAD_BASED_LINE_STRIP_RENDERER);
      Renderer.getLineStripRenderer().setLineCaps(true);
     
      AppGameContainer container = new AppGameContainer(new LineRenderTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

   *
   * @param argv The arguments to pass into the test
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new LameTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

      if (sharedContextTest) {
        GameContainer.enableSharedContext();
        exitMe = true;
      }
     
      AppGameContainer container = new AppGameContainer(new ImageTest());
      container.setForceExit(!sharedContextTest);
      container.setDisplayMode(800,600,false);
      container.start();
     
      if (sharedContextTest) {
        System.out.println("Exit first instance");
        exitMe = false;
        container = new AppGameContainer(new ImageTest());
        container.setDisplayMode(800,600,false);
        container.start();
      }
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

   *
   * @param argv The arguments to pass into the test
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new ImageOutTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

   *
   * @param argv The arguments passed to the test
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new GUITest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

   *
   * @param argv The arguments provided to the test
   */
  public static void main(String[] argv) {
    try {
      AppGameContainer container = new AppGameContainer(new SoundURLTest());
      container.setDisplayMode(800,600,false);
      container.start();
    } catch (SlickException e) {
      e.printStackTrace();
    }
  }
View Full Code Here

TOP

Related Classes of org.newdawn.slick.AppGameContainer

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.