private void drawGameOverUI() { Graphics g = game.getGraphics(); g.drawPixmap(Assets.gameOver, 62, 100); g.drawPixmap(Assets.buttons, 128, 200, 0, 128, 64, 64); g.drawLine(0, 416, 480, 416, Color.BLACK); }
private void drawRunningUI() { Graphics g = game.getGraphics(); g.drawPixmap(Assets.buttons, 0, 0, 64, 128, 64, 64); g.drawLine(0, 416, 480, 416, Color.BLACK); g.drawPixmap(Assets.buttons, 0, 416, 64, 64, 64, 64); g.drawPixmap(Assets.buttons, 256, 416, 0, 64, 64, 64); }
private void drawPausedUI() { Graphics g = game.getGraphics(); g.drawPixmap(Assets.pause, 80, 100); g.drawLine(0, 416, 480, 416, Color.BLACK); }
private void drawReadyUI() { Graphics g = game.getGraphics(); g.drawPixmap(Assets.ready, 47, 100); g.drawLine(0, 416, 480, 416, Color.BLACK); }