public void castleDefenseSpawn() { int toweroffset = 0; // This only gets called if built and initialized (aka player resources = 0) for (int i = 0; i < 5; i++) { modMan.addUnit("ARTIFICIAL", "ARCHER", new Vector2(375 + toweroffset, 75)); toweroffset += 50; } // Draw 2 towers for Player modMan.addUnit("ARTIFICIAL", "WARRIOR", new Vector2(425, 175)); modMan.addUnit("ARTIFICIAL", "WARRIOR", new Vector2(475, 175)); modMan.addUnit("ARTIFICIAL", "WARRIOR", new Vector2(525, 175)); //ModelManager.artificial.Add(new BossUnit(new Vector2(475,590),400)); //ModelManager.player.Add(new BossUnit(new Vector2(475,590),4000)); //modMan.addUnit("PLAYER", "CLERIC", new Vector2(250,550)); /* ---------------------------------------------------------------------------------------------------- */ theResource = new Digits(new Vector2(0, 672)); theTitle = new titleShell(new Vector2(375, 375)); theResource.LoadContent(this.Content); theTitle.LoadContent(this.Content); loadMan.load(this.Content, ModelManager.player); loadMan.load(this.Content, ModelManager.artificial); }
public void riverDefenseSpawn() { int toweroffset = 0; for (int i = 0; i < 5; i++) { modMan.addUnit("ARTIFICIAL", "ARCHER", new Vector2(375 + toweroffset, 75)); toweroffset += 50; } modMan.addUnit("ARTIFICIAL", "WARRIOR", new Vector2(475, 150)); //modMan.addUnit("PLAYER", "CLERIC", new Vector2(250,550)); /* ---------------------------------------------------------------------------------------------------- */ theResource = new Digits(new Vector2(0, 672)); theTitle = new titleShell(new Vector2(375, 375)); theResource.LoadContent(this.Content); theTitle.LoadContent(this.Content); loadMan.load(this.Content, ModelManager.player); loadMan.load(this.Content, ModelManager.artificial); }