> How Can I use spritebatch.draw(); in a different class in XNA?

How Can I use spritebatch.draw(); in a different class in XNA?

Posted at: 2014-12-18 
You need to make spritebatch available to the other class.

A simple way is to pass it to the other classes' method you're calling.

In your main class:

drawStuff(other arguments, spritebatch);

In your other class:

public void drawStuff(other arguments, SpriteBatch spritebatch) {

...// in here you can now call spritebatch.draw()

}