public Entity render()
    {
        GL11.glEnable(GL11.GL_TEXTURE_2D);
        if (texture != null)
        {
            texture.bind();
            GL11.glBegin(GL11.GL_QUADS);
            GL11.glTexCoord2f(0, 0);
            GL11.glVertex2f(position.x, position.y);
            GL11.glTexCoord2f(1, 0);
            GL11.glVertex2f(position.x + texture.getImageWidth(), position.y);
            GL11.glTexCoord2f(1, 1);
            GL11.glVertex2f(position.x + texture.getImageWidth(), position.y + texture.getImageHeight());
            GL11.glTexCoord2f(0, 1);
            GL11.glVertex2f(position.x, position.y + texture.getImageHeight());
            GL11.glEnd();
        }

        return this;
    }