public void FindAstrilde() { village CurrentVillage = this.Maeland; if (CurrentVillage.isAstrildHere) { Console.WriteLine("hugi found Astrilde!!!celeberations!xoxo"); } village NextVillage; NextVillage = CurrentVillage.NextVillage; }
public void InitializeMap() { Alst = new village(); Alst.VillageName = "Alst"; Maeland = new village(); Maeland.VillageName = "Maeland"; Maeland.isAstrildHere = true; Schenig = new village(); Schenig.VillageName = "Schenig"; Alst.NextVillage = Maeland; Maeland.NextVillage = Schenig; Schenig.NextVillage = Alst; }