Beispiel #1
0
        /// <summary>
        /// Initialization Method
        /// </summary>
        public Dialogue(Engine_Core coreRef)
        {
            //Cast to the interface in order to call interface functions
            myInterface = this;

            //Retain a reference to the Engine_Core
            engCoreRef = coreRef;

            //Run the core state function
            Console.WriteLine("Activating Dialogue State!");
            myInterface.Main();
        }
        /// <summary>
        /// Initialization Method
        /// </summary>
        public Front_End(Engine_Core coreRef)
        {
            //Cast to the interface in order to call interface functions
            myInterface = this;

            //Retain a reference to the Engine_Core
            engCoreRef = coreRef;

            //Generate the U.I Class
            frontEndUI = new Front_End_UI(this, engCoreRef, myInterface);

            //Run the core state function
            Console.WriteLine("Activating Front-End!");
            myInterface.Main();
        }