Inheritance: GraphicsDeviceService
Exemplo n.º 1
0
                public void Is_valid_with_IGraphicsDeviceService()
                {
                    var service = new MockGraphicsDeviceService();

                    Game.Services.AddService(typeof(IGraphicsDeviceService), service);

                    Assert.That(Game, HasThisProperty.SameAs(service.GraphicsDevice));
                }
Exemplo n.º 2
0
 public void FixtureSetup()
 {
     _service = MockGraphicsDeviceService.AddRef(800, 600);
 }