@Test public void testGameScreen() { TestHelper.load(); World.getInstance().setTiles(TestHelper.getMobilityTestTiles()); double resWidth, resHeight; resWidth = resHeight = 1000; Canvas canvas = new Canvas(resWidth, resHeight); Viewport viewport = new Viewport((int) resWidth, (int) resHeight); try { new GameScreen(viewport, canvas).render(1, false); } catch (ArrayIndexOutOfBoundsException e) { logger.error("ScreenTest Array Error", e); } }
public abstract void render(long ms, boolean renderBackGround);
Screen { public abstract void render(long ms, boolean renderBackGround); }
Screen { public abstract void render(long ms, boolean renderBackGround); protected  Screen(Node root); protected  Screen(); }
Screen { public abstract void render(long ms, boolean renderBackGround); protected  Screen(Node root); protected  Screen(); boolean isVisible(); void setVisible(boolean visible); void setDisable(boolean disabled); Node getRootNode(); void setSize(double width, double height); void centerScreenX(int width); void centerScreenY(int height); abstract void setWidth(int newWidth); abstract void setHeight(int newHeight); abstract void render(long ms, boolean renderBackGround); }
Screen { public abstract void render(long ms, boolean renderBackGround); protected  Screen(Node root); protected  Screen(); boolean isVisible(); void setVisible(boolean visible); void setDisable(boolean disabled); Node getRootNode(); void setSize(double width, double height); void centerScreenX(int width); void centerScreenY(int height); abstract void setWidth(int newWidth); abstract void setHeight(int newHeight); abstract void render(long ms, boolean renderBackGround);  }