Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            //DatabaseImporter db = new DatabaseImporter(@"Data Source=DESKTOP-OF28PIK\SQLEXPRESS;Initial Catalog=provincies; Integrated Security=True");
            Console.WriteLine("--------------------------------Het wegennetwerk--------------------------------");
            Console.WriteLine("| 1) Tool1 [rapport/Databestand]                                               |");
            Console.WriteLine("| 2) Tool2 [SQLDatabase]                                                       |");
            Console.WriteLine("| 3) Tool3 [SQLDatabase bevragingen]                                           |");
            Console.WriteLine("| 4) Exit                                                                      |");
            Console.WriteLine("--------------------------------------------------------------------------------");
            int menuValue = Tool1.ValueChecker(4);

            if (menuValue == 1)
            {
                Tool1.Start();
            }
            else if (menuValue == 2)
            {
                Tool2.Start();
            }
            else if (menuValue == 3)
            {
                Tool3.Start();
            }
            else if (menuValue == 4)
            {
                return;
            }
            //Console.WriteLine(Inlezer.Unzipper(@"C:\Users\Biebem\Downloads"));
        }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     anim       = GetComponent <Animator> ();
     player     = GameObject.FindGameObjectWithTag("Player");
     getHit     = GameObject.FindGameObjectWithTag("HP").GetComponent <PlayerHealth> ();
     playerAnim = player.GetComponent <Animator> ();
     nav        = GetComponent <NavMeshAgent> ();
     audioPlay  = GetComponent <AudioSource>();
     playerEXP  = GameObject.FindGameObjectWithTag("EXP").GetComponent <PlayerExperience>();
     tool1      = GameObject.FindGameObjectWithTag("Tools1").GetComponent <Tool1>();
     tool2      = GameObject.FindGameObjectWithTag("Tools2").GetComponent <Tool2>();
     tool3      = GameObject.FindGameObjectWithTag("Tools3").GetComponent <Tool3>();
 }
Ejemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     skill1 = GameObject.FindGameObjectWithTag("Skill1").GetComponent <Skill1> ();
     skill2 = GameObject.FindGameObjectWithTag("Skill2").GetComponent <Skill2> ();
     //skill3 = GameObject.FindGameObjectWithTag ("Skill3").GetComponent<Skill3> ();
     tool1       = GameObject.FindGameObjectWithTag("Tools1").GetComponent <Tool1>();
     tool2       = GameObject.FindGameObjectWithTag("Tools2").GetComponent <Tool2>();
     tool3       = GameObject.FindGameObjectWithTag("Tools3").GetComponent <Tool3>();
     respawn     = GameObject.FindGameObjectWithTag("Respawn").GetComponent <Transform> ();
     mp          = GameObject.FindGameObjectWithTag("MP").GetComponent <PlayerMPValue> ();
     hp          = GameObject.FindGameObjectWithTag("HP").GetComponent <PlayerHealth> ();
     transitions = GameObject.FindGameObjectWithTag("Transitions").GetComponent <Animator> ();
     audio       = GetComponent <AudioSource>();
     mis         = GameObject.FindGameObjectWithTag("Mission").GetComponent <MissionProgress> ();
 }