//Loadcontent methode. deze methode maakt nieuwe objecten aan van de verschillende
 //classes
 public void LoadContent()
 {
     //nu maken we een object of instantie aan van de class image
     this.background = new Image(this.game, @"StartScene\Background", new Vector2(0f, 0f));
     this.title = new Image(this.game, @"StartScene\Title", new Vector2(100f, 50f));
     this.menu = new Menu(this.game);
 }
Exemple #2
0
 // LoadConctent methode. Deze methode maakt nieuwe objecten aan van de verschillende
 // classes.
 public void LoadContent()
 {
     // Nu maken we een object (instantie) van de class Image
        this.background = new Image(this.game, @"StartScene\Background", Vector2.Zero);
        this.title = new Image(this.game, @"StartScene\Title", new Vector2(100f, 30f));
        this.menu = new Menu(this.game);
 }
 //LoadContent methode. Deze methode maakt nieuwe objecten aan van verschillende
 //classes
 public void LoadContent()
 {
     //Nu maken we TWEE object aan(instantie) van de class Image
     this.background = new Image(this.game, @"StartScene\background", new Vector2(0f,0f));
     this.title = new Image(this.game, @"StartScene\title", new Vector2(100f,30f));
     this.menu = new Menu(this.game);
 }
 //LoadContent methode. Deze methode maakt nieuwe objecten aan van de verschillende classes.
 public void LoadContent()
 {
     //Maakt een object van een object ( Instantie ) van de Image.
     this.background = new Image(this.game, @"StartScene\Background", Vector2.Zero);
     this.title = new Image(this.game, @"StartScene\Title", new Vector2(100f, 30f));
     this.menu = new Menu(this.game);
 }
Exemple #5
0
        //LoadContent
        public void LoadContent()
        {
            this.background = new Images(this.game, @"StartScene\Background", new Vector2(0f, 0f));
            this.gameTitel = new Images(this.game, @"StartScene\Title", new Vector2(105f, 30f));

            this.menu = new Menu(this.game);
        }
        //LoadContent
        public void LoadContent()
        {
            this.background = new Image(this.game, @"StartScene\Background", Vector2.Zero);

            // Maak een object aan van het type Image
            this.title = new Image(this.game, @"StartScene\Title", new Vector2(100f, 20f));

            this.menu = new Menu(this.game);
        }
Exemple #7
0
 //LoadContent
 public void LoadContent()
 {
     this.menu = new Menu(game);
     this.title = new Image(this.game, @"StartScene\Title", new Vector2(100, 35));
     this.background = new Image(this.game, @"StartScene\Background", Vector2.Zero);
 }