Finished refactoring d3d-reliance from the game object