// LoadContent methode. Deze methode maakt nieuwe objecten aan van de verschillende // classes. public void LoadContent() { this.beetle = new Beetle(this.game, new Vector2(100f, 300f)); this.beetle1 = new Beetle(this.game, new Vector2(400f, 100f)); this.scorpion = new Scorpion(this.game, new Vector2(300f, 188f)); this.scorpion1 = new Scorpion(this.game, new Vector2(188f, 300f)); this.explorer = new Explorer(this.game, new Vector2(304f, 240f)); this.block1 = new Block(this.game, @"Block/Block", new Vector2(0, 16)); }
// LoadContent methode. Deze methode maakt nieuwe objecten aan van de verschillende // classes. public void LoadContent() { this.beetle = new Beetle(this.game, new Vector2(100f, 300f)); this.beetle1 = new Beetle(this.game, new Vector2(400f, 100f)); this.scorpion = new Scorpion(this.game, new Vector2(300f, 188f)); this.scorpion1 = new Scorpion(this.game, new Vector2(188f, 300f)); this.explorer = new Explorer(this.game, new Vector2(304f, 240f)); this.block1 = new Block(this.game,@"Block\Block", new Vector2(0f, 0f)); this.block2 = new Block(this.game, @"Block\Wall1", new Vector2(32f, 32f)); this.block3 = new Block(this.game, @"Block\Wall2", new Vector2(0f, 32f)); this.block4 = new Block(this.game, @"Block\Door", new Vector2(32f, 0f)); }