In my main game class I instantiate a player object and a map object I've created through classes (i.e. map.cs and player.cs).
I'm wondering if there's any way I can reference that map object in my player object without passing it from one to the other through the Game1.cs?
For example, I want to be able to say Map.tile[1,1] = 5 in my player class.
If that doesn't make sense, I can try to explain further.
Thanks everyone!