'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

var CoreObjects = require('@galacean/engine-core');
var engineLoader = require('@galacean/engine-loader');
var engineMath = require('@galacean/engine-math');
var engineRhiWebgl = require('@galacean/engine-rhi-webgl');

function _interopNamespace(e) {
  if (e && e.__esModule) return e;
  var n = Object.create(null);
  if (e) {
    Object.keys(e).forEach(function (k) {
      if (k !== 'default') {
        var d = Object.getOwnPropertyDescriptor(e, k);
        Object.defineProperty(n, k, d.get ? d : {
          enumerable: true,
          get: function () { return e[k]; }
        });
      }
    });
  }
  n["default"] = e;
  return Object.freeze(n);
}

var CoreObjects__namespace = /*#__PURE__*/_interopNamespace(CoreObjects);

//@ts-ignore
var version = "1.5.16";
console.log("Galacean Engine Version: " + version);
for(var key in CoreObjects__namespace){
    CoreObjects.Loader.registerClass(key, CoreObjects__namespace[key]);
}

exports.version = version;
Object.keys(CoreObjects).forEach(function (k) {
  if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
    enumerable: true,
    get: function () { return CoreObjects[k]; }
  });
});
Object.keys(engineLoader).forEach(function (k) {
  if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
    enumerable: true,
    get: function () { return engineLoader[k]; }
  });
});
Object.keys(engineMath).forEach(function (k) {
  if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
    enumerable: true,
    get: function () { return engineMath[k]; }
  });
});
Object.keys(engineRhiWebgl).forEach(function (k) {
  if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
    enumerable: true,
    get: function () { return engineRhiWebgl[k]; }
  });
});
//# sourceMappingURL=main.js.map
