Пример #1
0
        static void InitMap(ref Map map)
        {
            // Add locations with their coordinates to this list.
            RiksRuin rik = new RiksRuin("Rik's Mountian");

            map.AddLocation(rik, 1, 1);

            Forrest forrest = new Forrest("Forrest");

            map.AddLocation(forrest, 2, 1);

            MainRoad mainroad = new MainRoad("Main Road");

            map.AddLocation(mainroad, 3, 1);
            map.AddLocation(mainroad, 4, 1);
            map.AddLocation(mainroad, 6, 1);

            Bridge bridge = new Bridge("Bridge");

            map.AddLocation(bridge, 5, 1);

            CastleGate CastleGate = new CastleGate("Castle Gate");

            map.AddLocation(CastleGate, 7, 1);
            Castle castle = new Castle("Castle");

            map.AddLocation(castle, 9, 1);
            InnerCastleRoad innercastleroad = new InnerCastleRoad("Inner Castle Road");

            map.AddLocation(innercastleroad, 8, 1);

            House House = new House("House");

            map.AddLocation(House, 3, 2);
        }
Пример #2
0
        static void InitMap(ref Map map)
        {
            // Add locations with their coordinates to this list.
            Forrest forrest = new Forrest("Black Forrest");

            map.AddLocation(forrest, 0, 2);
            Cliff cliff = new Cliff("Rockface");

            map.AddLocation(cliff, 0, 3);
            Church church = new Church("Old Chapel");

            map.AddLocation(church, 1, 2);
            Swamp swamp = new Swamp("Bog");

            map.AddLocation(swamp, 0, 1);
        }
Пример #3
0
        static void InitMap(ref Map map)
        {
            // Add locations with their coordinates to this list.
            Fort           ravenfort  = new Fort("Raven Fort");
            River          river      = new River("Waters");
            Plains         grasslands = new Plains("Grass Lands");
            Forrest        forrest    = new Forrest("Black Forrest");
            Bridge         bridge     = new Bridge("Old wooden Bridge");
            Church         church     = new Church("Old Chapel");
            Abandoned_Town Town       = new Abandoned_Town("Ruined City");

            //0
            map.AddLocation(grasslands, 0, 0);
            map.AddLocation(ravenfort, 0, 1);
            map.AddLocation(grasslands, 0, 2);
            map.AddLocation(river, 0, 3);
            map.AddLocation(forrest, 0, 4);
            map.AddLocation(forrest, 0, 5);
            //1
            map.AddLocation(grasslands, 1, 0);
            map.AddLocation(grasslands, 1, 1);
            map.AddLocation(grasslands, 1, 2);
            map.AddLocation(bridge, 1, 3);
            map.AddLocation(forrest, 1, 4);
            map.AddLocation(forrest, 1, 5);
            //2
            map.AddLocation(grasslands, 2, 0);
            map.AddLocation(grasslands, 2, 1);
            map.AddLocation(grasslands, 2, 2);
            map.AddLocation(river, 2, 3);
            map.AddLocation(grasslands, 2, 4);
            map.AddLocation(forrest, 2, 5);
            //3
            map.AddLocation(grasslands, 3, 0);
            map.AddLocation(church, 3, 1);
            map.AddLocation(grasslands, 3, 2);
            map.AddLocation(river, 3, 3);
            map.AddLocation(Town, 3, 4);
            map.AddLocation(Town, 3, 5);
            //4

            map.AddLocation(grasslands, 4, 0);
            map.AddLocation(grasslands, 4, 1);
            map.AddLocation(grasslands, 4, 2);
            map.AddLocation(river, 4, 3);
            map.AddLocation(Town, 4, 4);
            map.AddLocation(Town, 4, 5);

            /*            Cliff cliff = new Cliff("Rockface");
             * map.AddLocation(cliff, 0, 3);*/
            /*            Swamp swamp = new Swamp("Bog");
             * map.AddLocation(swamp, 0, 1);*/

            //Dungeon
            Dungeon_1 dungeon_1 = new Dungeon_1("Crypt");

            map.AddLocation(dungeon_1, 3, 7);
            Dungeon_2 dungeon_2 = new Dungeon_2("Crypt");

            map.AddLocation(dungeon_2, 1, 7);
            map.AddLocation(dungeon_2, 2, 7);
            Dungeon_Final dungeon_final = new Dungeon_Final("Crypt");

            map.AddLocation(dungeon_final, 1, 8);
        }