mirror of
https://github.com/motajs/template.git
synced 2026-09-15 03:18:50 +08:00
21 lines
467 B
TypeScript
21 lines
467 B
TypeScript
import { loading } from '@user/data-base';
|
|
import { patchAll } from './fallback';
|
|
import { createGameRenderer, createRender } from './render';
|
|
|
|
export function create() {
|
|
patchAll();
|
|
createRender();
|
|
loading.once('coreInit', () => {
|
|
createGameRenderer();
|
|
});
|
|
}
|
|
|
|
export * from './action';
|
|
export * from './fallback';
|
|
export * from './render';
|
|
|
|
export * from './client';
|
|
export * from './core';
|
|
export * from './shared';
|
|
export * from './types';
|