public void render(ArrayList<GameObject> gameObjList)
  {
    if (game.getGameState() == GameState.INITIALIZING) return;

    // System.out.println("NeuroFrame.render(): graphics=" + graphics);
    if ((game.getGameState() == GameState.PLAYING) || (game.getGameState() == GameState.GAMEOVER))
    {
      world.render(canvasObjectLayer);

      if (gameObjList != null)
      {
        for (GameObject obj : gameObjList)
        {
          if (obj.isAlive()) obj.render(canvasObjectLayer);
        }
      }
      HUD.updateHUD(canvasObjectLayer, game, world.getPlayer().getAmmoCount());
      if (game.getGameState() == GameState.GAMEOVER) drawGameOver();

    }
    repaint();
  }