Beispiel #1
0
        void BuildNogoTable(XmlDocument doc)
        {
            nogoTable.Clear();
            nogoTable.AddEntry("YOU NOTICE NOTHING UNEXPECTED.");

            XmlToTables x = XmlToTables.GetInstance();

            x.PopulateNogoTable(doc, nogoTable);
        }
Beispiel #2
0
        void BuildStringTable(XmlDocument doc)
        {
            stringTable.Clear();
            stringTable.AddEntry("YOU NOTICE NOTHING UNEXPECTED.");

            XmlToTables x = XmlToTables.GetInstance();

            x.ParseForStrings(doc, stringTable);
        }
Beispiel #3
0
        void BuildVerbTable(XmlDocument doc)
        {
            verbMap.Clear();
            XmlToTables x = XmlToTables.GetInstance();

            x.PopulateVerbTable(doc, verbTable);

            verbTable.Uppercase();

            for (int i = 0; i < verbTable.GetNumEntries(); i++)
            {
                string   s     = verbTable.GetEntry(i);
                string[] verbs = s.Split(',');

                foreach (string v in verbs)
                {
                    verbMap[v] = i;
                }
            }
        }