public static void Main() { XmlDocument doc = new XmlDocument(); doc.Load("Test.xml"); EntityFactory.Parse(doc.LastChild); using (XNAGame game = new XNAGame()) { game.Run(); } }
public XNAGame() { if (instance != null) { return; } instance = this; if (instance == null) { return; } graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; }