private EnemyShip ParseEnemy(string txt, PlayerShip p, Tier tier) { switch (txt) { case "Casual": return(new Enemies.CasualEnemy(new Vector(), tier)); case "Frosty": return(new Enemies.FrostyEnemy(new Vector(), tier)); case "Rocky": return(new Enemies.RockyEnemy(new Vector(), tier)); case "Tricky": return(new Enemies.TrickyEnemy(p, new Vector(), tier)); case "Stealthy": return(new Enemies.StealthyEnemy(new Vector(), tier)); } return(null); }
public ILevelBuilder SetPlayer(PlayerShip player) { this.lvl.Player = player; this.player = player; return(this); }
public ILevelBuilder SetPlayer(PlayerShip ship) { playersView = new EquipmentView(); playersView.SetForAllItems(ship, 50); return(this); }
public ILevelBuilder SetPlayer(PlayerShip ship) { level.Player = ship; return(this); }