Added texturing to sprite class