silphius/app/ecs-components/interacts.js
2024-07-01 18:12:53 -05:00

15 lines
319 B
JavaScript

import Component from '@/ecs/component.js';
export default class Interacts extends Component {
instanceFromSchema() {
return class ControlledInstance extends super.instanceFromSchema() {
toJSON() {
return {};
}
}
}
static properties = {
willInteractWith: {type: 'uint32'},
};
}