6
votes
2answers
3k views

How do I access variables in the Game1 class from another class in XNA?

I'm trying to write a SpriteManager class in XNA, but I need access to the Game variables. For example, the Game.Content property would be very helpful in loading textures, and ...
1
vote
1answer
151 views

Followed the XNA GameStateManagement sln, but my doesn't work. What am I doing wrong?

If someone has the time I wanted to know if you would be willing to check out my solution file here: http://elvis.rowan.edu/~majeko02/AwesomeShip.zip I followed the XNA GameStateManagement on AppHub, ...