silphius/app/ecs-components/forces.js
2024-06-26 21:36:45 -05:00

11 lines
252 B
JavaScript

import Component from '@/ecs/component.js';
export default class Forces extends Component {
static properties = {
forceX: {type: 'float32'},
forceY: {type: 'float32'},
impulseX: {type: 'float32'},
impulseY: {type: 'float32'},
};
}