Package com.thecherno.cherno.engine.graphics

Examples of com.thecherno.cherno.engine.graphics.Display


   * @param height
   *            The height of the display (and window) in pixels.
   */
  protected final void createDisplay(String name, int width, int height) {
    startTimer = System.currentTimeMillis();
    display = new Display(new Window(name, width, height));
    screen = new Screen(width, height, 1.0);
  }
View Full Code Here


    screen = new Screen(width, height, 1.0);
  }

  protected final void createDisplay(String name, int width, int height, double scale) {
    startTimer = System.currentTimeMillis();
    display = new Display(new Window(name, width, height));
    display.setScale(scale);
    screen = new Screen(width, height, scale);
  }
View Full Code Here

TOP

Related Classes of com.thecherno.cherno.engine.graphics.Display

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.