15 lines
319 B
JavaScript
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'},
|
|
};
|
|
}
|