feat: param description
This commit is contained in:
parent
c65612a387
commit
8b6c790a32
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user