public void render(GameContainer gc, StateBasedGame sbg, Graphics g)throws SlickException
    {
        //calculate the offset of th
        if(!isGameOver)
        {
            if(!isPause)
            {
                bmap.tmap.render(0, 0);
                //temporary
                g.draw(player.getCeilingPoly());
                g.draw(player.getFootPoly());
                g.draw(player.getPolygon());
            }
        }
    }