Added render-to-texture and player class