Home Reference Source Test

src/entry.js

/**
 * Export management for all Engine files.
 */

//base
import Updateable from './base/Updateable';

//component
import Animation from './component/Animation';
import Audio from './component/Audio';
import BoxCollider from './component/BoxCollider';
import CircleCollider from './component/CircleCollider';
import Collider from './component/Collider';
import Collider2D from './component/Collider2D';
import Component from './component/Component';
import Controller from './component/Controller';
import ClickController from './component/ClickController';
import Physics from './component/Physics';
import Physics2D from './component/Physics2D';
import Renderable from './component/Renderable';
import Renderable2D from './component/Renderable2D';
import Renderable2DGrid from './component/Renderable2DGrid';
import Renderable2DMultitex from './component/Renderable2DMultitex';
import RenderableText from './component/RenderableText';
import RenderableSquare from './component/RenderableSquare';
import TopDownController from './component/TopDownController';
import Transform from './component/Transform';

//internal
import Bounds from './internal/Bounds';
import Point from './internal/Point';

//manager
import AudioManager from './manager/AudioManager';
import DOMManager from './manager/DOMManager';
import EngineManager from './manager/EngineManager';
import InputManager from './manager/InputManager';
import Manager from './manager/Manager';
import UpdateableManager from './manager/UpdateableManager';
import PersistentManager from './manager/PersistentManager';
import PhysicsManager from './manager/PhysicsManager';
import RenderManager from './manager/RenderManager';
import SceneManager from './manager/SceneManager';
import TextureManager from './manager/TextureManager';
import UIManager from './manager/UIManager';

//object
import GameObject from './object/GameObject';
import SceneObject from './object/SceneObject';
import PersistentObject from './object/PersistentObject';

//prefab
import UIElement from './prefab/ui/UIElement';
import UIPanel from './prefab/ui/UIPanel';
import UIText from './prefab/ui/UIText';
import UIButton from './prefab/ui/UIButton';
import UITextInput from './prefab/ui/UITextInput';

//render
    //WebGL
    import Matrix from './render/WebGL/Matrix';
    import Matrix3 from './render/WebGL/Matrix3';
import Camera from './render/Camera';
import Light from './render/Light';
import Viewport from './render/Viewport';

//scene
import Scene from './scene/Scene';
import BasicScene from './scene/BasicScene';

//utils
import * as MathUtil from './utils/MathUtil';
import Messager from './utils/Messager';
import Loader from './utils/Loader';

//const
import KeyCode from './const/KeyCode';

import Engine from './Engine';

export {
    KeyCode,
    Updateable,
    Audio,
    BoxCollider,
    CircleCollider,
    Collider,
    Collider2D,
    Component,
    Controller,
    Physics,
    Physics2D,
    Renderable,
    Renderable2D,
    RenderableSquare,
    Transform,
    FragmentShader,
    VertexShader,
    Bounds,
    Point,
    AudioManager,
    DOMManager,
    EngineManager,
    InputManager,
    Manager,
    UpdateableManager,
    PersistentManager,
    PhysicsManager,
    RenderManager,
    SceneManager,
    GameObject,
    SceneObject,
    PersistentObject,
    Matrix,
    Matrix3,
    Camera,
    Light,
    Viewport,
    Scene,
    BasicScene,
    MathUtil,
    Messager,
    Engine,
    TopDownController,
    ClickController,
    TextureManager,
    Loader,
    Animation,
    Renderable2DGrid,
    RenderableText,
    UIElement,
    UIButton,
    UIManager,
    UIPanel,
    UIText,
    UITextInput
};