Sets this task's texture
The texture's width and height must be provided if the texture is a location
For custom textures, the dimensions are optional
overload 1:
SpriteTask:setTexture(textureLocation, width, height)
| Method Property | Fluent Description | Representation |
| textureLocation accepts | a String | |
| width accepts | an Integer | |
| height accepts | an Integer | |
| Return Value | a SpriteTask | |
overload 2:
SpriteTask:setTexture(texture)
| Method Property | Fluent Description | Representation |
| texture accepts | a Texture | |
| Return Value | a SpriteTask | |
overload 3:
SpriteTask:setTexture(texture, width, height)