I am trying to use sprite batch to rotate a rectangle with a texture like so:
game.batch.draw(Image, (float)x, (float)y, (float)42.5, (float)33, (float)85, (float)66, (float)1, (float)1, (float)angleDegrees);
But i get the error:
The method draw(Texture, float, float, float, float, float, float, float, float) in the type SpriteBatch is not applicable for the arguments (Texture, float, float, float, float, float, float, float, float, float)
I think i have the right amount of parameters, and they are all floats, what am i missing.