Ejemplo n.º 1
0
        public Subsector CreateSubsector(string name)
        {
            string       text   = TestingUtilities.ReadResource("Files", $"{name}.sec");
            StringReader reader = new StringReader(text);

            SubsectorSECFileParser parser = new SubsectorSECFileParser();
            Subsector subsector           = parser.ParseSubsector(Map, name, reader);

            return(subsector);
        }
Ejemplo n.º 2
0
        public Subsector CreateCronorSubsector()
        {
            string       text   = TestingUtilities.ReadResource("Files", "Cronor.sec");
            StringReader reader = new StringReader(text);

            SubsectorSECFileParser parser = new SubsectorSECFileParser();
            Subsector aramis = parser.ParseSubsector(Map, "Cronor", reader);

            return(aramis);
        }