fix: context typing
This commit is contained in:
parent
fc033fa687
commit
4a14a541e1
|
@ -37,15 +37,6 @@ export default (latus) => class Behaved extends decorate(Trait) {
|
|||
} = this.constructor.defaultState());
|
||||
}
|
||||
|
||||
static behaviorTypes() {
|
||||
return {
|
||||
context: {
|
||||
type: 'context',
|
||||
label: 'Context',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
get context() {
|
||||
return this.#context;
|
||||
}
|
||||
|
@ -77,6 +68,10 @@ export default (latus) => class Behaved extends decorate(Trait) {
|
|||
|
||||
static children(entity) {
|
||||
return {
|
||||
context: {
|
||||
type: 'context',
|
||||
label: 'Context',
|
||||
},
|
||||
isBehaving: {
|
||||
type: 'bool',
|
||||
label: 'Is behaving',
|
||||
|
|
Loading…
Reference in New Issue
Block a user