Esempio n. 1
0
        private void setPath()
        {
            entryNode.setPath(0, A);
            entryNode.setPath(1, B);

            B.setPath(0, BA);
            B.setPath(1, BB);

            BA.setPath(0, BAA);
            BA.setPath(1, BAB);
            BA.setPath(2, BAC);
        }
Esempio n. 2
0
        private void setPaths()
        {
            entryNode.setPath(0, A);
            entryNode.setPath(1, B);

            ////////////// for A



            A.setPath(0, AA);
            A.setPath(1, AB);
            A.setPath(2, AC);

            AA.setPath(0, AAA);
            AA.setPath(1, AAB);
        }
Esempio n. 3
0
        public GameManager()
        {
            List <string> temp = new List <string>();

            temp.Add("RoboHap");
            mainMenu = new EventNode("sky", temp, 1, "MY ROBOTIC ADVENTURES");
            temp.Clear();
            temp.Add("Vp");
            temp.Add("Quirk2");
            characterSelect = new EventNode("sky", temp, 2, "Choose Your Target!\n A: Captain Quirk\n B:Vice President \nof the United Federations\n\n\n\n                Objective: \nKill a human without breaking \n    any of Asimov's Laws.\n");

            mainMenu.setPath(0, characterSelect);
            characterSelect.setPath(0, path1.getEntryNode());
            characterSelect.setPath(1, path2.getEntryNode());
            currentNode = mainMenu;
        }