chore: ded
This commit is contained in:
parent
f0b9de638e
commit
89d3a6df36
|
@ -8,19 +8,6 @@ export default () => class Darkened extends Trait {
|
|||
};
|
||||
}
|
||||
|
||||
static describeParams() {
|
||||
return {
|
||||
isDarkened: {
|
||||
type: 'bool',
|
||||
label: 'Is darkened',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
static type() {
|
||||
return 'darkened';
|
||||
}
|
||||
|
||||
async load(json) {
|
||||
await super.load(json);
|
||||
this._isDarkened = this.params.isDarkened;
|
||||
|
|
Loading…
Reference in New Issue
Block a user