/** * Render this state. * * @param container the Gamecontainer that contains this state * @param arg1 the state based game that uses this state * @param graphics the Graphics object used in this state * @throws SlickException if something goes wrong. */ public void render(GameContainer container, StateBasedGame arg1, Graphics graphics) throws SlickException { this.input = container.getInput(); RND.getInstance().drawBackground(graphics); drawText(graphics, container); separatorTop.drawColor(graphics, mainGame.getColor()); separatorHost.drawColor(graphics, mainGame.getColor()); separatorJoin.drawColor(graphics, mainGame.getColor()); separatorMisc.drawColor(graphics, mainGame.getColor()); mainGame.drawWaterMark(); RND.getInstance().drawLogo(graphics, LOGO_X, LOGO_Y); elements.render(graphics, input, mainGame.getColor()); RND.getInstance().drawForeGround(graphics); }