public void FindAstrilde() { village CurrentVillage = this.Maeland; if (CurrentVillage.isAstrildeHere) { Console.WriteLine("hugi Found astrilde!!! Celebrations! XOXO"); } village NextVillage; NextVillage = CurrentVillage.Nextvillage; }
public void FindAstrilde() { village CurrentVillage = this.Mealand; if (CurrentVillage.isAstrildeHere) { Console.WriteLine("Hugi found Astrilde !!! Celebrations"); } village NextVillage; NextVillage = CurrentVillage.Nextvillage; }
public void initializemap() { Alst = new village(); Alst.VillageName = "Alst"; Maeland = new village(); Maeland.VillageName = " Maeland"; Maeland.isAstrildeHere = true; schenig = new village(); schenig.VillageName = "schenig"; Alst.Nextvillage = Maeland; Maeland.Nextvillage = schenig; schenig.Nextvillage = Alst; }
public void IntializationMap() { Alst = new village(); Alst.villageName = "Alst"; Mealand = new village(); Mealand.villageName = "Mealand"; Mealand.isAstrildeHere = true; Schening = new village(); Schening.villageName = "Schening"; Alst.Nextvillage = Mealand; Mealand.Nextvillage = Schening; Schening.Nextvillage = Alst; }
public void run() { village toronto; toronto = new village(); village a, b, c; toronto.villagename = "version a"; a = toronto; Console.WriteLine(a.villagename); toronto = new village(); toronto.villagename = "version b"; b = toronto; Console.WriteLine(b.villagename); toronto = new village(); toronto.villagename = "version c"; c = toronto; Console.WriteLine(c.villagename); Console.ReadKey(); }
public void run() { maple = new village(); maple.villagename = "toronto"; maple.nextvillage = toronto; }