made class ragdoll SDL friendly