Пример #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (PyramidePanic game = new PyramidePanic())
     {
         game.Run();
     }
 }
Пример #2
0
 //Constructor
 public image(PyramidePanic game, string pathnameAsset, Vector2 position)
 {
     this.game = game;
     this.texture = game.Content.Load<Texture2D>(pathnameAsset);
     this.rectangle = new Rectangle((int)position.X,
                                    (int)position.Y,
                                    this.texture.Width,
                                    this.texture.Height);
 }
Пример #3
0
 // contructor van de StartScene Class
 public HelpScene(PyramidePanic game)
 {
     this.game = game;
 }
Пример #4
0
 //constructor
 public Menu(PyramidePanic game)
 {
     this.game = game;
     this.Initialize();
 }
Пример #5
0
 // contructor van de StartScene Class
 public GameOverScene(PyramidePanic game)
 {
     this.game = game;
 }
Пример #6
0
 //properties
 // contructor van de StartScene Class
 public PlayScene(PyramidePanic game)
 {
     this.game = game;
 }
Пример #7
0
 // contructor van de StartScene Class
 public StartScene(PyramidePanic game)
 {
     this.game = game;
     this.initialize();
 }