feat: param description

This commit is contained in:
cha0s 2020-06-18 02:16:00 -05:00
parent c65612a387
commit 8b6c790a32

View File

@ -62,6 +62,23 @@ export default class Alive extends decorate(Trait) {
};
}
static describeParams() {
return {
deathSound: {
type: 'string',
label: 'Death sound',
},
deathActions: {
type: 'actions',
label: 'Death actions',
},
deathCondition: {
type: 'condition',
label: 'Death condition',
},
}
}
static describeState() {
return {
isDying: {