Example #1
0
            public void FindAstrilde()
            {
                village CurrentVillage = this.Maeland;

                if (CurrentVillage.isAstrildeHere)
                {
                    Console.WriteLine("hugi Found astrilde!!! Celebrations! XOXO");
                }
                village NextVillage;

                NextVillage = CurrentVillage.Nextvillage;
            }
Example #2
0
            public void FindAstrilde()
            {
                village CurrentVillage = this.Mealand;

                if (CurrentVillage.isAstrildeHere)
                {
                    Console.WriteLine("Hugi found Astrilde !!! Celebrations");
                }
                village NextVillage;

                NextVillage = CurrentVillage.Nextvillage;
            }
Example #3
0
            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;
            }
Example #4
0
            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;
            }
Example #5
0
        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();
        }
Example #6
0
 public void run()
 {
     maple             = new village();
     maple.villagename = "toronto";
     maple.nextvillage = toronto;
 }