Beispiel #1
0
        public Treasure()
        {
            island = new IslandGenerator();
            Random rand = new Random();

            playersymbol = '#';
            TreasurePos();
            width1  = rand.Next(4, 22);
            length1 = rand.Next(6, 11);
            width2  = rand.Next(14, 33);
            length2 = rand.Next(10, 16);
            width3  = rand.Next(27, 44);
            length3 = rand.Next(6, 11);
            width4  = rand.Next(5, 14);
            length4 = rand.Next(2, 7);
        }
 public mapGenerator(int width, int hieght)
 {
     map    = new char[width, hieght];
     island = new IslandGenerator();
 }