예제 #1
0
        private static void englishDemo()
        {
            /* ENGLISH TEST */
            Bucket b = new Bucket(3);
            b.Fill = 5;
            Console.WriteLine("I am holding " + b.LongDesc(true));
            Console.WriteLine("I am holding " + b.ShortDesc(true));
            Console.WriteLine("I am holding " + b.BaseDesc(true));
            Console.WriteLine("emptying the " + b.TerseDesc() + "...");
            b.Fill = 0;
            Console.WriteLine("now I am holding " + b.LongDesc(true));
            Bucket a = new Bucket(8);
            a.Fillup();
            Console.WriteLine("now I am holding " + a.LongDesc(true));
            Console.WriteLine("now I am holding " + a.ShortDesc(true));
            Console.WriteLine("now I am holding " + a.BaseDesc(true));

            Console.WriteLine("looking at it...");
            Console.WriteLine(a.Look());
        }