I shared "window.Draw" in different classes, but now do not display sprites on screen (window.Display), if I write in main.cs "window.Display", it displays only those sprites that are registered in the main.cs, other sprites that are in other classes are not displayed. If I write "window.Display" in, for example, player.cs, it displays only the sprites are registered in player.cs (which is logical). How do I make all the sprites appear correctly?
Code:
http://pastebin.com/ZPCxm08PIn simple words, do not display the player sprite.