public void renderEntities()
    {

        Entity entity;
        
        for (int i = 0; i < this.theWorld.loadedEntityList.size(); i++)
        {
            entity = this.theWorld.loadedEntityList.get(i);
            if (!entity.getEntityName().equals("Player"))
            {
               if (RenderHelper.isOnScreen(entity))
                {
                    if (entity.hasAnimatedTexture())
                    {
                        this.entityRenderer.renderAnimatedEntity(entity);
                    }
                    else
                    {
                        //this.entityRenderer.renderEntityUsingDrawElements(entity);
                        this.entityRenderer.renderEntity(entity);
                    }
                }
            }
        }

        this.entityRenderer.renderPlayer(this.theGame.thePlayer);
    }