refactor: default blank schema
This commit is contained in:
parent
247ca15002
commit
103f458158
|
@ -1,3 +1,5 @@
|
||||||
|
import Schema from './schema.js';
|
||||||
|
|
||||||
export default class Base {
|
export default class Base {
|
||||||
|
|
||||||
ecs;
|
ecs;
|
||||||
|
@ -6,7 +8,10 @@ export default class Base {
|
||||||
|
|
||||||
pool = [];
|
pool = [];
|
||||||
|
|
||||||
static schema;
|
static schema = new Schema({
|
||||||
|
type: 'object',
|
||||||
|
properties: {},
|
||||||
|
});
|
||||||
|
|
||||||
constructor(ecs) {
|
constructor(ecs) {
|
||||||
this.ecs = ecs;
|
this.ecs = ecs;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user