Esempio n. 1
0
 //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);
 }
Esempio n. 2
0
 //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);
 }
Esempio n. 3
0
 //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);
 }
Esempio n. 4
0
 // 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;
 }