private void drawUI(Graphics2D graphics)
  {
   character.getSprite().draw(graphics,0,-32); 
    graphics.setFont(new java.awt.Font("Arial",java.awt.Font.PLAIN,32));
    graphics.drawString("x"+character.lives,68,64);
    graphics.drawString("Score:"+character.score,300,64);
    graphics.drawString("Time: "+ seconds,500,64);
    if(SideScroller.isGameOver)
    {
      graphics.setFont(new java.awt.Font("Arial",java.awt.Font.PLAIN,40));
      graphics.drawString("GAME OVER ",300,300);
      graphics.setFont(new java.awt.Font("Arial",java.awt.Font.PLAIN,28));
      graphics.drawString("Press [Space] to go back to the main menu",220,360);
    }
  }