optimized the proectile draw code and the draw code in the game class