public static SpriteBatch GetSpriteBatch() { initedSb = null; TestGame gameToTest = new TestGame(); gameToTest.Drawn += new EventHandler(gameToTest_Drawn); gameToTest.Run(); while (initedSb == null) { } return initedSb; }
public void Init() { MockDrawable = TestGame.GetSpriteBatch(); }
public void InitClass() { MockedSB = TestGame.GetSpriteBatch(); }