/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (PyramidePanic game = new PyramidePanic()) { game.Run(); } }
//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); }
// contructor van de StartScene Class public HelpScene(PyramidePanic game) { this.game = game; }
//constructor public Menu(PyramidePanic game) { this.game = game; this.Initialize(); }
// contructor van de StartScene Class public GameOverScene(PyramidePanic game) { this.game = game; }
//properties // contructor van de StartScene Class public PlayScene(PyramidePanic game) { this.game = game; }
// contructor van de StartScene Class public StartScene(PyramidePanic game) { this.game = game; this.initialize(); }