//Constructor public StartScene(PyramidPanic game) { this.game = game; this.background = new Image(game, @"StartSceneAssets\Background", Vector2.Zero); this.title = new Image(game, @"StartSceneAssets\Title", new Vector2(110f, 30f)); this.menu = new MenuStartScene(this.game); }
//Constructor public StartScene(PyramidPanic game) { this.game = game; this.background = new Image(game, @"StartSceneAssets\Background", Vector2.Zero); this.title = new Image(game, @"StartSceneAssets\Title", new Vector2(100f, 30f)); this.menu = new MenuStartScene(game); }
//constructor public StartScene(PyramidPanic game) { this.game = game; this.background = new Picture(game, "TitleScherm\\Background", Vector2.Zero); this.title = new Picture(game, "TitleScherm\\Title", new Vector2(100f, 30f)); this.menu = new MenuStartScene(game); }
// constructor public StartScene(PyramidPanic game) { this.game = game; this.background = new Image(game, Vector2.Zero, "StartMenu//background"); this.title = new Image(game, new Vector2(100f, 30f), "StartMenu//Title"); this.menu = new MenuStartScene(this.game); PlayScene.LevelNumber = 0; }