private static DanceScene initializeDanceScene() { GraphicsDevice device = setupGraphicsDevice(); var content = new Mock<ContentUtil>(); var texture = new Mock<Texture2D>(device, 50, 50); content.Setup(x => x.load<Texture2D>(It.IsAny<String>())).Returns(texture.Object); DanceScene scene = new DanceScene(); scene.initialize(content.Object); return scene; }
private void addDanceScene(String scriptname, MenuScene menu) { DanceScene scene = new DanceScene(scriptname); this.scenes[scriptname] = scene; //menu.add(new MenuItem(scriptname, scene.title)); }