11 lines
252 B
JavaScript
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'},
|
|
};
|
|
}
|