chore: type hints

This commit is contained in:
cha0s 2020-06-22 04:26:05 -05:00
parent 3db24756d3
commit d818820afc

View File

@ -226,6 +226,15 @@ export default class Collider extends decorate(Trait) {
this._isCollidingWith = []; this._isCollidingWith = [];
} }
// eslint-disable-next-line class-methods-use-this
hooks() {
return {
contextTypeHints: () => [['other', 'entity']],
};
}
listeners() { listeners() {
return { return {