chore: restructure
This commit is contained in:
parent
c2b2196018
commit
5a8940e922
|
@ -178,8 +178,7 @@ export function createProxy(entity) {
|
||||||
return new Proxy(entity, new TraitProxy());
|
return new Proxy(entity, new TraitProxy());
|
||||||
}
|
}
|
||||||
|
|
||||||
export {EntityList} from './list';
|
export {EntityList, EntityListView} from './list';
|
||||||
export {EntityListView} from './list-view';
|
|
||||||
|
|
||||||
export {
|
export {
|
||||||
hasTrait,
|
hasTrait,
|
||||||
|
|
|
@ -6,7 +6,7 @@ import {QuadTree, Rectangle, Vector} from '@avocado/math';
|
||||||
import {EventEmitter} from '@avocado/mixins';
|
import {EventEmitter} from '@avocado/mixins';
|
||||||
import {Synchronized} from '@avocado/state';
|
import {Synchronized} from '@avocado/state';
|
||||||
|
|
||||||
import {create} from './index';
|
import {create} from '../index';
|
||||||
|
|
||||||
const decorate = compose(
|
const decorate = compose(
|
||||||
EventEmitter,
|
EventEmitter,
|
||||||
|
@ -115,3 +115,5 @@ export class EntityList extends decorate(Synchronized) {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export {EntityListView} from './view';
|
Loading…
Reference in New Issue
Block a user