public override void Create() { Name = "Island"; var water1 = new Water(); var water2 = new Water(); var water3 = new Water(); var earth = new Earth(); Elements = new Element[] { water1, water2, water3, earth }; foreach (var element in Elements) { element.Create(); } var kraken = new Kraken(); var leviathan = new Leviathan(); var merfolk1 = new Merfolk(); var merfolk2 = new Merfolk(); var merfolk3 = new Merfolk(); Creatures = new Creature[] { kraken, leviathan, merfolk1, merfolk2, merfolk3 }; foreach (var creature in Creatures) { creature.Create(); } }
public override void Populate() { var kraken = new Kraken(); var leviathan = new Leviathan(); var merfolk1 = new Merfolk(); var merfolk2 = new Merfolk(); var merfolk3 = new Merfolk(); Creatures = new Creature[] { kraken, leviathan, merfolk1, merfolk2, merfolk3 }; foreach (var creature in Creatures) { creature.Speak(); } }
public override void Populate() { var goblin = new Goblin(); var human = new Human(); var animal = new Animal(); var orc1 = new Orc(); var merfolk = new Merfolk(); Creatures = new Creature[] { goblin, human, animal, orc1, merfolk }; foreach (var creature in Creatures) { creature.Speak(); } }
public override void Create() { Name = "Swamp"; var three = new Tree(); var water1 = new Water(); var water2 = new Water(); var earth1 = new Earth(); var earth2 = new Earth(); Elements = new Element[] { three, water1, water2, earth1, earth2 }; foreach (var element in Elements) { element.Create(); } var goblin = new Goblin(); var human = new Human(); var animal = new Animal(); var orc1 = new Orc(); var merfolk = new Merfolk(); Creatures = new Creature[] { goblin, human, animal, orc1, merfolk }; foreach (var creature in Creatures) { creature.Create(); } }