コード例 #1
0
        //Initializer Function
        public Engine_Updater(Engine_Core core)
        {
            //Record the Reference to the Engine Core
            engCoreRef = core;

            //Declare what settings the engine supports
            defaultSettings = new Dictionary <string, bool>
            {
                { "Resolution", true },
                { "EnableUserResizing", true }
            };
        }
コード例 #2
0
 /// <summary>
 /// Store a passed-in reference to the engine core
 /// </summary>
 public Engine_State_Manager(Engine_Core coreRef)
 {
     //Retain a reference to the engine core
     engCoreRef = coreRef;
 }