Esempio n. 1
0
        public void FindAstrilde()
        {
            village CurrentVillage = this.Maeland;

            if (CurrentVillage.isAstrildHere)
            {
                Console.WriteLine("hugi found Astrilde!!!celeberations!xoxo");
            }
            village NextVillage;

            NextVillage = CurrentVillage.NextVillage;
        }
Esempio n. 2
0
        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;
        }