formatted code and changed loadATexture to BS_Renderer::loadATexture